mirror of
https://github.com/ilyakooo0/squeal.git
synced 2024-09-11 13:57:29 +03:00
scrap a Nil
This commit is contained in:
parent
6817f11007
commit
5dd61aba6c
@ -1167,7 +1167,7 @@ languageSqlExpr
|
||||
-> FunctionDefinition schemas args ('Returns ret)
|
||||
languageSqlExpr expr = UnsafeFunctionDefinition $
|
||||
"language sql as"
|
||||
<+> "$$" <+> renderSQL (values_ (expr `as` #ret :* Nil)) <+> "$$"
|
||||
<+> "$$" <+> renderSQL (values_ (expr `as` #ret)) <+> "$$"
|
||||
|
||||
languageSqlQuery
|
||||
:: Query '[] '[] schemas args rets
|
||||
|
Loading…
Reference in New Issue
Block a user