UNPKG

soda-angular

Version:
16 lines (15 loc) 436 B
export class StartsWith { constructor(column, value) { if (!column) { throw new Error("Column must be provided"); } if (!value || !value.Value) { throw new Error("Value must be provided and cannot be empty"); } this.Column = column; this.Value = value; } toString() { return `starts_with(${this.Column}, ${this.Value})`; } }