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. eqMaybeE :: IsSql92ExpressionSyntax expr => expr -> expr -> expr -> expr

    beam-core Database.Beam.Backend.SQL.SQL92

    Compare the first and second argument for nullable equality, if they are both not null, return the result of the third expression Some backends, like beam-postgres totally ignore the third result, because all equality there is sensible.

  2. neqMaybeE :: IsSql92ExpressionSyntax expr => expr -> expr -> expr -> expr

    beam-core Database.Beam.Backend.SQL.SQL92

    Compare the first and second argument for nullable equality, if they are both not null, return the result of the third expression Some backends, like beam-postgres totally ignore the third result, because all equality there is sensible.

  3. type OneToMaybe be (db :: Type -> Type -> Type) s (tbl :: Type -> Type -> Type) (rel :: Type -> Type -> Type) = OneToManyOptional be db s tbl rel

    beam-core Database.Beam.Query

    Synonym of OneToManyOptional. Useful for giving more meaningful types, when the relationship is meant to be one-to-one.

  4. class BeamSqlBackend be => SqlDeconstructMaybe be a nonNullA s | a s -> be, a -> nonNullA, a -> s, nonNullA -> s

    beam-core Database.Beam.Query

    Type class for anything which can be checked for null-ness. This includes 'QExpr (Maybe a)' as well as Tables or PrimaryKeys over 'Nullable QExpr'.

  5. fromMaybe_ :: BeamSqlBackend be => QGenExpr ctxt be s a -> QGenExpr ctxt be s (Maybe a) -> QGenExpr ctxt be s a

    beam-core Database.Beam.Query

    Convert a Maybe value to a concrete value, by suppling a default

  6. limitMaybe_ :: forall s a be (db :: (Type -> Type) -> Type) . (Projectible be a, ThreadRewritable (QNested s) a) => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)

    beam-core Database.Beam.Query

    Conditionally limit the number of results returned by a query.

  7. offsetMaybe_ :: forall s a be (db :: (Type -> Type) -> Type) . (Projectible be a, ThreadRewritable (QNested s) a) => Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)

    beam-core Database.Beam.Query

    Conditionally drop the first offset results.

  8. oneToMaybe_ :: forall be (db :: (Type -> Type) -> Type) tbl rel s . (BeamSqlBackend be, Database be db, Table tbl, Table rel, HasTableEqualityNullable be (PrimaryKey tbl)) => DatabaseEntity be db (TableEntity rel) -> (rel (QExpr be s) -> PrimaryKey tbl (Nullable (QExpr be s))) -> tbl (QExpr be s) -> Q be db s (rel (Nullable (QExpr be s)))

    beam-core Database.Beam.Query

    Used to define one-to-many (or one-to-one) relationships with a nullable foreign key. Takes the table to fetch, a way to extract the foreign key from that table, and the table to relate to.

  9. toUpdatedValueMaybe :: (forall s . () => table (QExpr be s) -> Maybe (QExpr be s a)) -> QFieldAssignment be table a

    beam-core Database.Beam.Query

    Use with set to optionally set a fiield to a new value, calculated based on one or more fields from the existing row

  10. bindFromMaybeCharToIntPair :: Parser s e (# (# #) | Char# #) -> ((# (# #) | Char# #) -> Parser s e (# Int#, Int# #)) -> Parser s e (# Int#, Int# #)

    bytesmith Data.Bytes.Parser

    No documentation available.

Page 218 of many | Previous | Next