yahoo / squidb

SquiDB is a SQLite database library for Android and iOS
https://github.com/yahoo/squidb/wiki
Apache License 2.0
1.31k stars 132 forks source link

Remove Criterion.all and Criterion.none [2.0] #75

Closed sbosley closed 9 years ago

sbosley commented 9 years ago

Using literals for these criterions actually had some unexpected performance implications, and they weren't super useful anyways. This PR removes them and updates a few things to replace them:

Users who still want the old behavior of Criterion.all (i.e. "WHERE 1") can use Criterion.literal(1) instead.

jdkoren commented 9 years ago

LGTM