UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

21 lines (15 loc) 378 B
import type Binder from './Binder' import type Collector from './Collector' export default class Bind implements Collector<string[]> { private strBinds: string[] = [] get value(): string[] { return this.strBinds } addBind(bind: string, _: Binder | null): Bind { this.strBinds.push(bind) return this } append(_: string): Bind { return this } }