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.
-
esqueleto Database.Esqueleto.Experimental No documentation available.
-
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
-
esqueleto Database.Esqueleto.Experimental No documentation available.
-
esqueleto Database.Esqueleto.Experimental As fromBaseId, but works on Maybe keys.
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.
isFieldMaybe :: FieldDef -> Boolesqueleto Database.Esqueleto.Experimental Check if the field is `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).
-
esqueleto Database.Esqueleto.Experimental toMaybe :: ToMaybe a => a -> ToMaybeT aesqueleto Database.Esqueleto.Experimental No documentation available.
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.