refql
Version:
A Node.js and Deno library for composing and running SQL queries.
10 lines (9 loc) • 503 B
TypeScript
import { RequiredRefQLOptions } from "../common/types";
import { Table } from "../Table";
import CUD from "./CUD";
import RQLNode from "./RQLNode";
export interface InsertRQLTag<TableId extends string = any, Params = any, Output = any> extends CUD<TableId, Params, Output> {
nodes: RQLNode[];
}
export declare function createInsertRQLTag(table: Table, nodes: RQLNode[], options: RequiredRefQLOptions): InsertRQLTag<any, any, any>;
export declare const isInsertRQLTag: (x: any) => x is InsertRQLTag;