0

If UUIDs are unique across RethinkDB, I was wondering whether you could get a document having only its UUID, without knowing the table it resides in.

I am thinking of something like:

r.db('test').get('[UUID]').run()
linkyndy
  • 17,038
  • 20
  • 114
  • 194

1 Answers1

2

You can write r.db('test').tableList().map(function(table){return r.table(table).get(UUID);}).

mlucy
  • 5,249
  • 1
  • 17
  • 21