couchbase-lite-core
couchbase-lite-core copied to clipboard
Rewritten query translator
Total rewrite of QueryParser. The new version is called QueryTranslator. It is much, much cleaner and more extensible.
It operates in three passes:
- Traverse the JSON/Fleece tree creating a tree of Node objects
- Do a bit of postprocessing on the Node tree
- Traverse the Nodes, writing SQL to an output stream.
There's (a bit) more documentation in docs/overview/QueryTranslator.md