SelectOperation
Summary
Canonical select statement shape consumed by adapters.
Signature
type SelectOperation<table> = {
distinct: boolean
groupBy: string[]
having: Predicate[]
joins: JoinClause[]
kind: 'select'
limit?: number
offset?: number
orderBy: OrderByClause[]
select: '*' | SelectColumn[]
table: table
where: Predicate[]
}