Remote / foldkit-remote-drizzle

ComputedConfig

interface · packages/remote-drizzle/src/binding.ts:95

interface ComputedConfig {
  readonly relation: string
  readonly where?: SQL | undefined
}

An aggregate over a collection relation, attached to each owning row.

Members

ComputedConfig.relation

property · packages/remote-drizzle/src/binding.ts:97

readonly relation: string

The collection relation whose target rows are counted.

ComputedConfig.where

property · packages/remote-drizzle/src/binding.ts:99

readonly where?: SQL | undefined

An optional filter on the counted rows.