metarhia / globalstorage

Distributed Data Warehouse 🌍
https://metarhia.com
MIT License
60 stars 5 forks source link

Comparison operators JSQL #18

Open tshemsedinov opened 7 years ago

tshemsedinov commented 7 years ago

We have following syntax for Cursor.filter(fn):

(person) => (
  person.name !== '' &&
  person.age > 18 &&
  person.city === 'Rome'
)

But we need also declarative comparison operators for Category.find(query) and Cursor.find(query)

tshemsedinov commented 7 years ago

Preprocess:

Convert to MongoDB syntax: