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
share [mkPersist sqlSettings] [persistLowerCase|
Person
name String
age Int
deriving Eq Show
|]
query::SqlPersistM [EntityPerson]
query = select $ from \(person ::SqlExpr (EntityPerson)) ->do
where_ $ not_ (person.name !=. val "foo"&&. person.age >. val @Int15)
pure person
produces
SELECT"person"."id", "person"."name", "person"."age"FROM"person"WHERE NOT ("person"."name"!= ?) AND ("person"."age"> ?);
expected
SELECT"person"."id", "person"."name", "person"."age"FROM"person"WHERE NOT (("person"."name"!= ?) AND ("person"."age"> ?));
The text was updated successfully, but these errors were encountered:
produces
expected
The text was updated successfully, but these errors were encountered: