Comment Comment by sendob That would be one way, orOn Postgres, you could use arrays: http://www.postgresql.org/docs/9.3/static/arrays.html also has some great contrib modules as well like: http://www.postgresql.org/docs/9.3/static/intarray.htmlMongodb documents their multikey indexes for a similar approach: http://docs.mongodb.org/manual/core/index-multikey/not to take away from rethinkdb, awesome to see a project move rapidly! parent sendob 13 years ago
On Postgres, you could use arrays: http://www.postgresql.org/docs/9.3/static/arrays.html also has some great contrib modules as well like: http://www.postgresql.org/docs/9.3/static/intarray.html
Mongodb documents their multikey indexes for a similar approach: http://docs.mongodb.org/manual/core/index-multikey/
not to take away from rethinkdb, awesome to see a project move rapidly!