apa512 / clj-rethinkdb

Eclipse Public License 1.0
204 stars 42 forks source link

how to use nested without? #190

Closed thedavidmeister closed 7 years ago

thedavidmeister commented 7 years ago

i want to use without({'right': 'id'}) as per https://www.rethinkdb.com/api/javascript/eq_join/ but i can't figure out how to get it working in clj-rethinkdb.

Everything I've tried either does nothing or strips all the right fields.

thedavidmeister commented 7 years ago

nm, i just realised it needs to be (r/without [{:right :id}]) in a vector

apa512 commented 7 years ago

Good, you found it.

clj-rethinkdb sometimes expects a sequence where the official drivers don't, and this is one of those cases.