UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

21 lines (16 loc) 401 B
import Binary from './Binary' import buildQuoted from './buildQuoted' export default class Matches extends Binary { public caseSensitive: boolean public readonly escape: any constructor( left: any, right: any, escape: any = null, caseSensitive = false, ) { super(left, right) this.caseSensitive = caseSensitive this.escape = escape && buildQuoted(escape) } }