Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.


That's fantastic. Thank you.


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.


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), {})


This 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)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: