UNPKG

@clickup/ent-framework

Version:

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

23 lines 1.09 kB
import type { QueryAnnotation } from "../abstract/QueryAnnotation"; import { QueryBase } from "../abstract/QueryBase"; import type { Schema } from "../abstract/Schema"; import type { DeleteWhereInput, Table } from "../types"; import type { PgClient } from "./PgClient"; import { PgRunner } from "./PgRunner"; export declare class PgQueryDeleteWhere<TTable extends Table> extends QueryBase<TTable, DeleteWhereInput<TTable>, string[], PgClient> { /** @ignore */ readonly RUNNER_CLASS: typeof PgRunnerDeleteWhere; } declare class PgRunnerDeleteWhere<TTable extends Table> extends PgRunner<TTable, DeleteWhereInput<TTable>, string[]> { static readonly IS_WRITE = true; private builder; readonly op = "DELETE_WHERE"; readonly maxBatchSize = 1; readonly default: never[]; runBatch: undefined; constructor(schema: Schema<TTable>, client: PgClient); key(input: DeleteWhereInput<TTable>): string; runSingle(input: DeleteWhereInput<TTable>, annotations: QueryAnnotation[]): Promise<string[]>; } export {}; //# sourceMappingURL=PgQueryDeleteWhere.d.ts.map