refql
Version:
A Node.js and Deno library for composing and running SQL queries.
13 lines (12 loc) • 370 B
TypeScript
import { Table } from "../Table";
interface RefField {
name: string;
as: string;
toString(): string;
}
declare function RefField(name: string, as: string): RefField;
declare namespace RefField {
var isRefField: (x: any) => x is RefField;
var refFieldOf: (as: string) => (table: Table, kw: string, ref: string) => RefField;
}
export default RefField;