Skip to content

monolayer-pg / schema / table

Function: table()

table<T, PK>(definition): PgTable<T, PK>

Type Parameters

Type Parameter
T extends ColumnRecord
PK extends string

Parameters

ParameterType
definitionTableDefinition<T, PK>

Returns

PgTable<T, PK>