UNPKG

@dataplan/pg

Version:
19 lines 813 B
import { Modifier } from "grafast"; import type { SQL } from "pg-sql2"; import type { PgConditionLike } from "../index.ts"; import type { PgCondition, PgConditionCapableParent } from "../steps/pgCondition.ts"; import type { RuntimeSQLThunk } from "../utils.ts"; export declare class PgClassFilter<TParent extends PgConditionCapableParent = PgConditionCapableParent> extends Modifier<PgCondition<TParent>> implements PgConditionLike { static $$export: { moduleName: string; exportName: string; }; private conditions; private havingConditions; readonly alias: SQL; constructor(parent: PgCondition<TParent>, alias: SQL); where(condition: RuntimeSQLThunk): void; having(condition: RuntimeSQLThunk): void; apply(): void; } //# sourceMappingURL=pgClassFilter.d.ts.map