Open deusaquilus opened 5 years ago
I think the following from FlattenOptionOperation
clauses this.
case OptionGetOrElse(OptionMap(ast, alias, body), Constant(b: Boolean)) =>
apply((BetaReduction(body, alias -> ast) +||+ emptyOrNot(b, ast)): Ast)
This construct works for Postgres so need to have a switch in FlattenOptionOperation to disable it in other contexts.
Version: (e.g.
3.4.8
) Module: (e.g.quill-sql
) Database: (e.g.SQL Server
)The statement
s.value OR s.value IS NOT NULL
is not valid in SQL Server.@getquill/maintainers