@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
23 lines • 1.05 kB
TypeScript
import type { QueryAnnotation } from "../abstract/QueryAnnotation";
import { QueryBase } from "../abstract/QueryBase";
import type { Schema } from "../abstract/Schema";
import type { Table } from "../types";
import type { PgClient } from "./PgClient";
import { PgRunner } from "./PgRunner";
export declare class PgQueryDelete<TTable extends Table> extends QueryBase<TTable, string, boolean, PgClient> {
/** @ignore */
readonly RUNNER_CLASS: typeof PgRunnerDelete;
}
declare class PgRunnerDelete<TTable extends Table> extends PgRunner<TTable, string, boolean> {
static readonly IS_WRITE = true;
private builder;
readonly op = "DELETE";
readonly maxBatchSize = 100;
readonly default = false;
constructor(schema: Schema<TTable>, client: PgClient);
key(input: string): string;
runSingle(input: string, annotations: QueryAnnotation[]): Promise<boolean>;
runBatch(inputs: Map<string, string>, annotations: QueryAnnotation[]): Promise<Map<string, boolean>>;
}
export {};
//# sourceMappingURL=PgQueryDelete.d.ts.map