Re:RethinkDB 1.11 is out: query profiler, new streaming algo...
by mrinterweb on Tuesday November 26, 2013 @04:19PM
(#6804275)
One feature that I'm waiting for with RethinkDB is unique indexing other than primary key. I frequently use unique indexes, and lacking that feature has been something that has deferred my interest in trying RethinkDB out.
[ Parent
| on HN ]
Re:RethinkDB 1.11 is out: query profiler, new streaming algo...
by coffeemug on Tuesday November 26, 2013 @05:08PM
(#6804604)
Slava @ Rethink here. I'll open a github issue when I get to a computer (and will post it here). We'll see if it's technically feasible and how/when we can schedule it.
Re:RethinkDB 1.11 is out: query profiler, new streaming algo...
by mrinterweb on Tuesday November 26, 2013 @08:20PM
(#6805570)
That's fantastic. Thank you.
Re:RethinkDB 1.11 is out: query profiler, new streaming algo...
by coffeemug on Wednesday November 27, 2013 @05:51AM
(#6807472)
Hey guys, I posted a GitHub issue on this feature -- https://github.com/rethinkdb/rethinkdb/issues/1716.
We'd appreciate if you chimed in with your feedback and ideas! Thanks for bringing this up.
Re:RethinkDB 1.11 is out: query profiler, new streaming algo...
by molf on Tuesday November 26, 2013 @06:23PM
(#6805021)
Have to agree with that. A very ugly workaround is something like:
r.branch(r.table("users").getAll(email, {index: "email"}).isEmpty(), r.table("users").insert(user), {})