4 ms·
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 so
by mrinterweb 13y ago
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.
- coffeemug 13y agoSlava @ 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.
- mrinterweb 13y agoThat's fantastic. Thank you.
- molf 13y agoHave 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), {})
- colinhowe 13y agoThis also holds us back from trying it out as our primary data store (but it is interesting as an additional store for other things that don't need additional unique keys)
- coffeemug 13y agoHey guys, I posted a GitHub issue on this feature -- https://github.com/rethinkdb/rethinkdb/issues/1716 https://github.com/rethinkdb/rethinkdb/issues/1716. We'd appreciate if you chimed in with your feedback and ideas! Thanks for bringing this up.