Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. minMaybe :: (Ord a, AggregatedContext ac, SqlContext ac) => Record Flat (Maybe a) -> Record ac (Maybe a)

    relational-schemas Database.Custom.MySQL

    Aggregation function MIN.

  2. negateMaybe :: (OperatorContext c, Num a) => Record c (Maybe a) -> Record c (Maybe a)

    relational-schemas Database.Custom.MySQL

    Number negate uni-operator corresponding SQL -.

  3. queryMaybe :: (MonadQualify ConfigureQuery m, MonadQuery m) => Relation () r -> m (Record Flat (Maybe r))

    relational-schemas Database.Custom.MySQL

    Join sub-query. Query result is Maybe. The combinations of query and queryMaybe express inner joins, left outer joins, right outer joins, and full outer joins. Here is an example of a right outer join:

    outerJoin = relation $ do
    e <- queryMaybe employee
    d <- query department
    on $ e ?! E.deptId' .=. just (d ! D.deptId')
    return $ (,) |$| e |*| d
    

  4. queryMaybe' :: MonadQuery m => Relation p r -> m (PlaceHolders p, Record Flat (Maybe r))

    relational-schemas Database.Custom.MySQL

    Join sub-query with place-holder parameter p. Query result is Maybe.

  5. showNumMaybe :: (SqlContext c, Num a, IsString b) => Record c (Maybe a) -> Record c (Maybe b)

    relational-schemas Database.Custom.MySQL

    Unsafely show number into string-like type in records.

  6. sumMaybe :: (Num a, AggregatedContext ac, SqlContext ac) => Record Flat (Maybe a) -> Record ac (Maybe a)

    relational-schemas Database.Custom.MySQL

    Aggregation function SUM.

  7. uniqueQueryMaybe' :: UniqueRelation p c r -> QueryUnique (PlaceHolders p, Record c (Maybe r))

    relational-schemas Database.Custom.MySQL

    Join unique sub-query with place-holder parameter p. Query result is Maybe.

  8. class ProjectableFlattenMaybe a b

    relational-schemas Database.Custom.Oracle

    Interface to compose phantom Maybe nested type.

  9. class ProjectableMaybe (p :: Type -> Type)

    relational-schemas Database.Custom.Oracle

    Interface to control Maybe of phantom type in records.

  10. avgMaybe :: (Num a, Fractional b, AggregatedContext ac, SqlContext ac) => Record Flat (Maybe a) -> Record ac (Maybe b)

    relational-schemas Database.Custom.Oracle

    Aggregation function AVG.

Page 310 of many | Previous | Next