News for hackers. Stuff that matters.
Re:A Comprehensive Guide to Moving from SQL to RethinkDB by atnnn on Tuesday April 07, 2015 @01:56PM (#9335810)
The RethinkDB query language can be very expressive.

What you shudder to think of could be expressed as

    row('species').contains(function(s){ r.expr(['Saiyan', 'Human', 'Android']).contains(s) })
Or also as:

    row('species').setIntersection(['Saiyan', 'Human', 'Android']).isEmpty().not()
The succintness of ReQL depends on that of the host language. JavaScript's bulky syntax for functions and lack of operator overloading make queries a lot more cluttered.
Re:A Comprehensive Guide to Moving from SQL to RethinkDB by dkersten on Tuesday April 07, 2015 @02:46PM (#9336147)
Untested, but also something like this should work:

    r.expr(['Saiyan', 'Human', 'Android']).contains(row('specias'))