UNPKG

@sequeljs/ast

Version:

A SQL AST manager for JavaScript

9 lines (7 loc) 219 B
import Case from '../nodes/Case' import buildQuoted from '../nodes/buildQuoted' export default abstract class WhenPredication { when(other: any): Case { return new Case(this).when(buildQuoted(other, this)) } }