@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
13 lines • 754 B
TypeScript
import type { Query } from "../abstract/Query";
import type { QueryAnnotation } from "../abstract/QueryAnnotation";
import type { Schema } from "../abstract/Schema";
import type { Row, SelectByInput, Table, UniqueKey } from "../types";
import type { PgClient } from "./PgClient";
export declare class PgQuerySelectBy<TTable extends Table, TUniqueKey extends UniqueKey<TTable>> implements Query<Array<Row<TTable>>> {
readonly schema: Schema<TTable>;
readonly input: SelectByInput<TTable, TUniqueKey>;
readonly IS_WRITE = false;
constructor(schema: Schema<TTable>, input: SelectByInput<TTable, TUniqueKey>);
run(client: PgClient, annotation: QueryAnnotation): Promise<Array<Row<TTable>>>;
}
//# sourceMappingURL=PgQuerySelectBy.d.ts.map