refql
Version:
A Node.js and Deno library for composing and running SQL queries.
11 lines (10 loc) • 379 B
TypeScript
import { TagFunctionVariable, ValueType } from "../common/types";
import SQLNode from "./SQLNode";
interface Value<Params = any> extends SQLNode<Params> {
run: TagFunctionVariable<Params>;
}
declare function Value<Params>(run: ValueType | TagFunctionVariable<Params>): Value<Params>;
declare namespace Value {
var isValue: (x: any) => x is Value;
}
export default Value;