4 ms·
In RethinkDB you'd express it like this: r.table('catalog').filter({ details: { media_type: 2}}) Or like this: r.table('catalog').filter(r.row('details')
by coffeemug 12y ago
In RethinkDB you'd express it like this:
r.table('catalog').filter({ details: { media_type: 2}})
Or like this:
r.table('catalog').filter(r.row('details')('media_type').eq(2))
For most queries MongoDB syntax and RethinkDB syntax are effectively interchangeable.