Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Database.Persist.Sql.Lifted.Expression.Constant
Synopsis
- val :: PersistField typ => typ -> SqlExpr (Value typ)
Documentation
val :: PersistField typ => typ -> SqlExpr (Value typ) #
Lift a constant value from Haskell-land to the query.