1 # class pq\Gateway\Table\Identity implements Countable, ITeratorAggregate
3 The primary key of a table.
7 The following query is executed by the current executor of the table to retrieve the primary key columns:
12 join pg_index i on c.oid = i.indrelid
13 join pg_attribute a on c.oid = a.attrelid
16 and a.attnum = any(i.indkey)
23 The result of this query is cached in the metadata cache under the following key, where $table is converted to a string by pq\Gateway\Table::__toString():
29 * protected array $columns
30 The columns making up the primary key of the table.