Closed nha closed 7 years ago
Are you getting any errors?
I just tried
(r/run (r/branch (r/contains (r/db-list) "rethinkdb") {:config_changes [] :dbs_created 0} (r/db-create "rethinkdb")) conn)
and that worked fine, returning a normal Clojure map when the DB exists.
I don't think expr
is needed in Clojure as we have syntax for data literals already?
Ah right then sorry for the noise - closing this issue.
The
expr
query is missing: https://www.rethinkdb.com/api/javascript/expr/My use case: it seems necessary for a workaround to create tables atomically: