UNPKG

refql

Version:

A Node.js and Deno library for composing and running SQL queries.

14 lines (13 loc) 453 B
import { SQLTag } from "../SQLTag"; import Raw from "../SQLTag/Raw"; declare const OperationSymbol: unique symbol; interface Operation<Params = any> { [OperationSymbol]: true; params: Params; interpret<Params = any>(col: Raw | SQLTag, displayAnd: boolean): SQLTag<Params>; } export declare const operationPrototype: { [OperationSymbol]: boolean; }; export declare const isOperation: (x: any) => x is Operation; export default Operation;