---
updatedAt: 2025-12-05T18:41:41.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# primary_key

Aliases: `pk`, `primarykey` (deprecated).

```
primary_key([column: col storable]+) -> primarykey
```

Specify the primary key for some verbs

# Domain

This is a scalar function (calculates a single output value for a single input row).

# Categories

* [Special](function#special-functions)