criteria4s
criteria4s copied to clipboard
Criteria4s is a simple domain-specific language (DSL) to define criteria and predicate expressions for any data stores by using Scala type class mechanisms in a type-safe way. It pretends to be agnost...
(PR to https://github.com/rafafrdz/criteria4s/issues/14 issue) Hi! I've added a mongodb interpreter in this PR. So I would be happy if you @rafafrdz look at it :) I based on the official...
Also write its interpretation for existing datastores
This issue is tricky. Because of limit and offset aren't boolean expressions themselves, both are criterias in APIs scenarios. So, the idea of this issue is: - Think about whether...
It is needed to redo / upgrade all showed criteria4s examples in the repo by homogenizing them, creating one for every expression and creating some combined expressions for different data...
It will be nice to add support for mongoDb expressions. At least Postgres + real NoSql solution can be really beautiful example of using this algebra
Example: - `equals` -> `:==` - `geq` -> `:>=` - `and` -> `:&` Using `:` before the symbol is just an example to avoid confusing with Scala's boolean operators