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.

  1. val :: PersistField typ => typ -> SqlExpr (Value typ)

    esqueleto Database.Esqueleto

    Lift a constant value from Haskell-land to the query.

  2. val :: PersistField typ => typ -> SqlExpr (Value typ)

    esqueleto Database.Esqueleto.Experimental

    Lift a constant value from Haskell-land to the query.

  3. val :: PersistField typ => typ -> SqlExpr (Value typ)

    esqueleto Database.Esqueleto.Internal.Internal

    Lift a constant value from Haskell-land to the query.

  4. val :: PersistField typ => typ -> SqlExpr (Value typ)

    esqueleto Database.Esqueleto.Legacy

    Lift a constant value from Haskell-land to the query.

  5. 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).

  6. valList :: PersistField typ => [typ] -> SqlExpr (ValueList typ)

    esqueleto Database.Esqueleto

    Lift a list of constant value from Haskell-land to the query.

  7. valkey :: (ToBackendKey SqlBackend entity, PersistField (Key entity)) => Int64 -> SqlExpr (Value (Key entity))

    esqueleto Database.Esqueleto

    valkey i = val . toSqlKey (https://github.com/prowdsponsor/esqueleto/issues/9).

  8. 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).

  9. valList :: PersistField typ => [typ] -> SqlExpr (ValueList typ)

    esqueleto Database.Esqueleto.Experimental

    Lift a list of constant value from Haskell-land to the query.

  10. valkey :: (ToBackendKey SqlBackend entity, PersistField (Key entity)) => Int64 -> SqlExpr (Value (Key entity))

    esqueleto Database.Esqueleto.Experimental

    valkey i = val . toSqlKey (https://github.com/prowdsponsor/esqueleto/issues/9).

Page 1 of many | Next