Change state checks to use literal expressions
MSSQL doesn't like expressions in the lines of "column" IS @p1 which is how goqu generated the column.IsNull() part.
This commit is contained in:
committed by
Jože Fortun
parent
878e5edddb
commit
a026aeb790
@@ -498,7 +498,7 @@ func (s *Store) Query{{ .expIdentPlural }}(
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .nullConstraint }}
|
||||
goqu.I({{ printf "%q" . }}).IsNull(),
|
||||
stateNilComparison({{ printf "%q" . }}, filter.StateExcluded),
|
||||
{{- end }}
|
||||
).Limit(1)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user