Open danielytics opened 10 years ago
This is because of this line https://github.com/bitemyapp/revise/blob/master/src/bitemyapp/revise/query.clj#L159
A fix is easy (to account for when the key is actually a "variable"). But I think I will delay these fixes till this driver is up to speed with the latest version of rethinkdb. Which will be done by the end of this week at the latest.
Oh, awesome, thank you! Thanks also for your responsiveness!
I can simply use filter for the time being - I won't need super fast performance just yet :)
I've noticed that sometimes
r/get
doesn't work as I expect (I could be expecting the wrong thing, but the Javascript driver seems to run the same queries). For example, while testingplaceholder
from #12, I tried this code, which does not work:ClassCastException clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.Named clojure.core/name (core.clj:1518)
However, changing the
r/get
tor/filter
works as expected:In javascript (in the data explorer), the
get
version works: