Fix SQLite Numeric domain value for None
issue3930 review11281002
This commit is contained in:
@@ -49,6 +49,6 @@ class Numeric(Float):
|
||||
type_ = self.sql_type().base
|
||||
if operator in ('in', 'not in'):
|
||||
return [Cast(Literal(v), type_) for v in value]
|
||||
else:
|
||||
elif value is not None:
|
||||
return Cast(Literal(value), type_)
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user