Skip to content

postgrelize / CteSearchOptions

Type Alias: CteSearchOptions ​

CteSearchOptions = Readonly<{ by: readonly string[]; mode?: "breadth" | "depth"; set: string; }>

Defined in: src/model/cte-builder.ts:42

postgrelize extension

search of a recursive CTE definition. PostgreSQL extension.

Example ​

ts
const search: CteSearchOptions = { by: ['id'], mode: 'breadth', set: 'ordercol' };

Released under the MIT License.