cypher-query-builder icon indicating copy to clipboard operation
cypher-query-builder copied to clipboard

Add support for where comparators inside condition arrays

Open jamesfer opened this issue 6 years ago • 0 comments

Arrays of values inside conditions as a shorthand for the OR operator should also accept comparators as their members.

query.where({ age: [ lessThan(18), greater than(65) ]}
// WHERE age < 18 OR age > 65

jamesfer avatar Mar 06 '18 06:03 jamesfer