Use tables and Model as arguments for sql_column of the Field

This commit is contained in:
Cédric Krier
2026-01-29 12:42:56 +01:00
parent 4435474f3e
commit dfe58aa125
18 changed files with 62 additions and 60 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ class Geometry(fields.Field):
assert operator in GEOGRAPHIC_OPERATORS
column = self.sql_column(table)
column = self.sql_column(tables, Model)
if operator in {'=', '!='} and value is Null:
Operator = SQL_OPERATORS[operator]