Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromBaseIdMaybe :: ToBaseId ent => SqlExpr (Value (Maybe (Key (BaseEnt ent)))) -> SqlExpr (Value (Maybe (Key ent)))

    esqueleto Database.Esqueleto.Experimental

    As fromBaseId, but works on Maybe keys.

  2. getTableMaybe :: GetFirstTable (SqlExpr (Maybe (Entity t))) ts => ts -> SqlExpr (Maybe (Entity t))

    esqueleto Database.Esqueleto.Experimental

    A variant of getTable that operates on possibly-null entities.

  3. isFieldMaybe :: FieldDef -> Bool

    esqueleto Database.Esqueleto.Experimental

    Check if the field is `Maybe a`

  4. subSelectMaybe :: PersistField a => SqlQuery (SqlExpr (Value (Maybe a))) -> SqlExpr (Value (Maybe a))

    esqueleto Database.Esqueleto.Experimental

    Execute a subquery SELECT in a SqlExpr. This function is a shorthand for the common joinV . subSelect idiom, where you are calling subSelect on an expression that would be Maybe already. As an example, you would use this function when calling sum_ or max_, which have Maybe in the result type (for a 0 row query).

  5. toBaseIdMaybe :: ToBaseId ent => SqlExpr (Value (Maybe (Key ent))) -> SqlExpr (Value (Maybe (Key (BaseEnt ent))))

    esqueleto Database.Esqueleto.Experimental

    Like toBaseId, but works on Maybe keys.

  6. toMaybe :: ToMaybe a => a -> ToMaybeT a

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  7. getTableMaybe :: GetFirstTable (SqlExpr (Maybe (Entity t))) ts => ts -> SqlExpr (Maybe (Entity t))

    esqueleto Database.Esqueleto.Experimental.From.Join

    A variant of getTable that operates on possibly-null entities.

  8. module Database.Esqueleto.Experimental.ToMaybe

    No documentation available.

  9. class ToMaybe a

    esqueleto Database.Esqueleto.Experimental.ToMaybe

    No documentation available.

  10. type family ToMaybeT a

    esqueleto Database.Esqueleto.Experimental.ToMaybe

    No documentation available.

Page 190 of many | Previous | Next