UNPKG

refql

Version:

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

14 lines (13 loc) 476 B
import { SQLTag } from "../SQLTag"; import { TagFunctionVariable } from "../common/types"; import RQLNode from "./RQLNode"; interface Limit<Params = any> extends RQLNode { params: Params; run: TagFunctionVariable<Params, number>; interpret<Params = any>(): SQLTag<Params>; } declare function Limit<Params>(run: TagFunctionVariable<Params, number> | number): Limit<Params>; declare namespace Limit { var isLimit: (x: any) => x is Limit; } export default Limit;