Closed redgeoff closed 3 years ago
An alternative to this is to support a notation like mongo queries, which may be more declarative
The more I think about this, he more that I think we want to use mongodb-style queries so that it can more easily be customized by a UI in the future. The lib https://github.com/kofrasa/mingo, may help
Example of a conditional operator (ternary) using Mongo Queries
Implemented by https://github.com/redgeoff/mson/pull/306. And, here is some documentation
To be able to support configurations like https://github.com/redgeoff/mson/issues/183 in a more streamlined way, we can use operators like
!
,+
,-
,/
,*
,%
,=
,&
,|