Remote / foldkit-remote-drizzle
compileWhere
function · packages/remote-drizzle/src/compile.ts:436
function compileWhere(
body: AnyQuery,
target: CompileTarget,
input: Readonly<Record<string, unknown>>,
query: string,
): ReadonlyArray<SQL>The body's predicates, as the SQL fragments this request needs. Each is separate: the caller conjoins them with whatever else applies, so a body cannot escape the binding's visibility rule by being one big expression.