UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

15 lines 749 B
import type { Hints } from "../../types"; export declare const RAW_PREPEND_HINT = ""; /** * Builds query prologue queries for the given hints. * * In the resulting compound queries, the returned `queries` will become a part * of the debug query text, and queriesDefault will be prepended and omitted * from the debug query text. * * Also, if there is a special hint with key = "", the its value is appended as * it is to the very beginning of the compound query sent. You can e.g. pass * pg_hint_plan extension hints there. */ export declare function buildHintQueries(hintsDefault?: Readonly<Hints>, hints?: Readonly<Hints>): [rawPrepend: string, queriesDefault: string[], queries: string[]]; //# sourceMappingURL=buildHintQueries.d.ts.map