UNPKG

refql

Version:

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

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