import { where } from './where' import type { TableName, Where } from './types' import type { Condition } from '@rocicorp/zero' export function serverWhere>( tableName: Table, builder: Builder ): Where export function serverWhere< Table extends TableName, Builder extends Where = Where
, >(builder: Builder): Where export function serverWhere
>( a: Table | Builder, b?: Builder ): Where | Builder { return where(a as any, b as any, true) }