ontodev / sprocket

BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Implement basic WHEREs #3

Closed jamesaoverton closed 3 years ago

jamesaoverton commented 3 years ago

Following the basic design of PostgREST horizontal filtering, we want to support cases like GET /people?age=lt.13. We can start with a small number of operators and grow. We won't try to handle complex logic yet, but I think we'll need a proper grammar and parser eventually, and it would be fine to start small with Lark (or something) now.

beckyjackson commented 3 years ago

Partially taken care of by 36c172d. The grammar is super simple right now and I only implemented a subset of the horizontal filtering conditions. I'm not sure if we want to close this issue, or keep it open until all operators are supported? See where clauses in the README for what's included now.

jamesaoverton commented 3 years ago

That list of operators is good for now, thanks.