Use 1 = 0 as the clause for a :value => [] case
Use 1 = 0 as the clause for a :value => [] case

This case can be sent to the datastore as part of an invalid
branch for an OrOperation. This makes sure that IN () is not sent
to the database, since that's invalid syntax for SQL. The 1 = 0
is equivalent to IN () in this case.

basex/ardm-do-adapter,datamapper/dm-do-adapter