Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit a91c119

Browse files
fix lookup
1 parent f3c0d65 commit a91c119

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codecov/db/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ def as_sql(self, compiler, connection):
7373

7474

7575
@Field.register_lookup
76-
class ILike(IContains):
76+
class ILike(Lookup):
7777
lookup_name = "ilike"
7878

7979
def as_sql(self, compiler, connection):
8080
rhs, _ = self.process_rhs(compiler, connection)
8181

8282
print("CONNECTION.VENDOR", connection.vendor)
8383

84-
if connection.vendor == "default":
85-
return f"ILIKE {rhs}"
86-
return super().get_rhs_op(connection, rhs)
84+
# if connection.vendor == "default":
85+
return f"ILIKE {rhs}"
86+
# return super().get_rhs_op(connection, rhs)
8787

8888

8989
class DatabaseSyncToAsync(SyncToAsync):

0 commit comments

Comments
 (0)