You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RethinkDB Java driver auto generates it's code from an advanced JSON spec of the RethinkDB query language. It should be possible to auto generate this code in Clojure too using macros.
Pros:
Easily stay up to date with the official releases
Always fully compliant with the latest ReQL spec
Cons:
Macro code may be complex
We may lose code completion using macros
Not sure how we get docstrings with this approach.
The text was updated successfully, but these errors were encountered:
You can already do this :) Run (r/db :mydb) and look at the output. Then run (-> (r/db :mydb) (r/table :mytable)). The query is built up as data, then converted into the JSON protobuf message that RethinkDB needs when you run it.
The RethinkDB Java driver auto generates it's code from an advanced JSON spec of the RethinkDB query language. It should be possible to auto generate this code in Clojure too using macros.
Pros:
Cons:
The text was updated successfully, but these errors were encountered: