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. toMaybe :: ToMaybe a => a -> ToMaybeT a

    esqueleto Database.Esqueleto.Experimental.ToMaybe

    No documentation available.

  2. entityAsValueMaybe :: SqlExpr (Maybe (Entity val)) -> SqlExpr (Value (Maybe (Entity val)))

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

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

    esqueleto Database.Esqueleto.Internal.Internal

    As fromBaseId, but works on Maybe keys.

  4. fromStartMaybe :: (PersistEntity a, BackendCompatible SqlBackend (PersistEntityBackend a)) => SqlQuery (PreprocessedFrom (SqlExpr (Maybe (Entity a))))

    esqueleto Database.Esqueleto.Internal.Internal

    (Internal) Same as fromStart, but entity may be missing.

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

    esqueleto Database.Esqueleto.Internal.Internal

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

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

    esqueleto Database.Esqueleto.Internal.Internal

    Like toBaseId, but works on Maybe keys.

  7. ByMaybeAttr :: WhyNullable

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

  8. FieldAttrMaybe :: FieldAttr

    esqueleto Database.Esqueleto.Legacy

    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
    

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

    esqueleto Database.Esqueleto.Legacy

    As fromBaseId, but works on Maybe keys.

  10. isFieldMaybe :: FieldDef -> Bool

    esqueleto Database.Esqueleto.Legacy

    Check if the field is `Maybe a`

Page 191 of many | Previous | Next