Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. ByMaybeAttr :: WhyNullable

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  2. FieldAttrMaybe :: FieldAttr

    esqueleto Database.Esqueleto.Experimental

    The Maybe keyword goes after the type. This indicates that the column is nullable, and the generated Haskell code will have a Maybe type for it. Example:

    User
    name Text Maybe
    

  3. class ToMaybe a

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  4. 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.

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

  6. isFieldMaybe :: FieldDef -> Bool

    esqueleto Database.Esqueleto.Experimental

    Check if the field is `Maybe a`

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

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

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  10. 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.

Page 185 of many | Previous | Next