Type alias WhereClause

WhereClause: Partial<AndClause> & Partial<OrClause> & PropertiesClause

Where clause.

Example

value => value.featured === true
{foo: 'bar'}
{foo: {eq: 'bar'}}
{foo: {neq: 'bar'}}
{foo: {gt: 5}}
{foo: {lt: 10}}
{foo: {gte: 5}}
{foo: {lte: 10}}
{foo: {inq: ['bar', 'baz']}}
{foo: {nin: ['bar', 'baz']}}
{foo: {between: [5, 10]}}
{foo: {exists: true}}
{foo: {like: 'bar'}}
{foo: {ilike: 'BaR'}}
{foo: {nlike: 'bar'}}
{foo: {nilike: 'BaR'}}
{foo: {regexp: 'ba.+'}}
{foo: {regexp: 'ba.+', flags: 'i'}}
{and: [...]}
{or: [...]}

Generated using TypeDoc