Hoogle Search
Within LTS Haskell 23.24 (ghc-9.8.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
val :: PersistField typ => typ -> SqlExpr (Value typ)esqueleto Database.Esqueleto Lift a constant value from Haskell-land to the query.
val :: PersistField typ => typ -> SqlExpr (Value typ)esqueleto Database.Esqueleto.Experimental Lift a constant value from Haskell-land to the query.
val :: PersistField typ => typ -> SqlExpr (Value typ)esqueleto Database.Esqueleto.Internal.Internal Lift a constant value from Haskell-land to the query.
val :: PersistField typ => typ -> SqlExpr (Value typ)esqueleto Database.Esqueleto.Legacy Lift a constant value from Haskell-land to the query.
valJ :: PersistField (Key entity) => Value (Key entity) -> SqlExpr (Value (Key entity))esqueleto Database.Esqueleto valJ is like val but for something that is already a Value. The use case it was written for was, given a Value lift the Key for that Value into the query expression in a type safe way. However, the implementation is more generic than that so we call it valJ. Its important to note that the input entity and the output entity are constrained to be the same by the type signature on the function (https://github.com/prowdsponsor/esqueleto/pull/69).
valList :: PersistField typ => [typ] -> SqlExpr (ValueList typ)esqueleto Database.Esqueleto Lift a list of constant value from Haskell-land to the query.
-
esqueleto Database.Esqueleto valkey i = val . toSqlKey (https://github.com/prowdsponsor/esqueleto/issues/9).
valJ :: PersistField (Key entity) => Value (Key entity) -> SqlExpr (Value (Key entity))esqueleto Database.Esqueleto.Experimental valJ is like val but for something that is already a Value. The use case it was written for was, given a Value lift the Key for that Value into the query expression in a type safe way. However, the implementation is more generic than that so we call it valJ. Its important to note that the input entity and the output entity are constrained to be the same by the type signature on the function (https://github.com/prowdsponsor/esqueleto/pull/69).
valList :: PersistField typ => [typ] -> SqlExpr (ValueList typ)esqueleto Database.Esqueleto.Experimental Lift a list of constant value from Haskell-land to the query.
-
esqueleto Database.Esqueleto.Experimental valkey i = val . toSqlKey (https://github.com/prowdsponsor/esqueleto/issues/9).
Page 1 of many | Next