CountDerived.relation
property · packages/remote-drizzle/src/bind.ts:124
readonly relation: RelationRemote / foldkit-remote-drizzle
interface · packages/remote-drizzle/src/bind.ts:123
interface CountDerived<Relation extends PropertyKey = string> {
readonly relation: Relation
readonly where?: SQL | undefined
}A Derived.make member counted over a many relation of its owner: what a
join table with no Entity is counted by. A count the Entity can say
(Derived.count) takes no entry.
CountDerived.relationproperty · packages/remote-drizzle/src/bind.ts:124
readonly relation: RelationCountDerived.whereproperty · packages/remote-drizzle/src/bind.ts:126
readonly where?: SQL | undefinedAn optional filter on the counted rows.