UNPKG

@clickup/ent-framework

Version:

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

13 lines 641 B
import type { Query } from "../abstract/Query"; import type { QueryAnnotation } from "../abstract/QueryAnnotation"; import type { Schema } from "../abstract/Schema"; import type { InsertInput, Table } from "../types"; import type { PgClient } from "./PgClient"; export declare class PgQueryUpsert<TTable extends Table> implements Query<string> { readonly schema: Schema<TTable>; readonly input: InsertInput<TTable>; readonly IS_WRITE = true; constructor(schema: Schema<TTable>, input: InsertInput<TTable>); run(client: PgClient, annotation: QueryAnnotation): Promise<string>; } //# sourceMappingURL=PgQueryUpsert.d.ts.map