You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the expression mytable::Column::MyColumn.eq(None) the resulting sql statement is ...column = ?. This expression filters by value and therefore does not filter for NULL since NULL is not a value in the sql syntax.
Expected Result
The resulting query should filter by IS NULL instead. This type of expression can currently only be constructed when using the sea_query expression builder.
System information
Database: Sqlite3
Crate Version: 0.2.4
The text was updated successfully, but these errors were encountered:
Summary
When using the expression
mytable::Column::MyColumn.eq(None)
the resulting sql statement is...column = ?
. This expression filters by value and therefore does not filter forNULL
sinceNULL
is not a value in the sql syntax.Expected Result
The resulting query should filter by
IS NULL
instead. This type of expression can currently only be constructed when using the sea_query expression builder.System information
Database: Sqlite3
Crate Version: 0.2.4
The text was updated successfully, but these errors were encountered: