UNPKG

soda-angular

Version:
16 lines (15 loc) 421 B
export class Like { 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 `${this.Column} like ${this.Value}`; } }