UNPKG

@clickup/ent-framework

Version:

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

17 lines 750 B
import type { Query } from "../abstract/Query"; import type { QueryAnnotation } from "../abstract/QueryAnnotation"; import type { Schema } from "../abstract/Schema"; import type { Table, UpdateInput } from "../types"; import { ID } from "../types"; import type { PgClient } from "./PgClient"; export declare class PgQueryUpdate<TTable extends Table> implements Query<boolean> { readonly schema: Schema<TTable>; private readonly allFields; readonly input: UpdateInput<TTable> & { [ID]: string; }; readonly IS_WRITE = true; constructor(schema: Schema<TTable>, id: string, input: UpdateInput<TTable>); run(client: PgClient, annotation: QueryAnnotation): Promise<boolean>; } //# sourceMappingURL=PgQueryUpdate.d.ts.map