Permalink
Browse files

Fixing case-insensitive like for sqlite

  • Loading branch information...
1 parent 816dcfd commit dcf37e2ecaf4ab0b7c749872fce099e8e7c7c1af @coleifer committed Oct 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 peewee.py
View
1 peewee.py
@@ -1613,6 +1613,7 @@ def inner(*args, **kwargs):
class SqliteDatabase(Database):
op_overrides = {
OP_LIKE: 'GLOB',
+ OP_ILIKE: 'LIKE',
}
def _connect(self, database, **kwargs):

0 comments on commit dcf37e2

Please sign in to comment.