UNPKG

@sqb/builder

Version:

Extensible multi-dialect SQL query builder written with TypeScript

15 lines (14 loc) 463 B
import { EventEmitter } from 'events'; import { Serializable } from '../serializable.js'; import { GenerateOptions, GenerateResult } from '../types.js'; export declare interface Query extends EventEmitter { } export declare abstract class Query extends Serializable { protected _params?: Record<string, any>; constructor(); /** * Generates Sql script */ generate(options?: GenerateOptions): GenerateResult; values(obj: any): this; }