Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

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

    relational-record Database.Relational.Documentation

    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
    

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

    relational-record Database.Relational.Documentation

    Aggregation function SUM.

  3. class ProjectableFlattenMaybe a b

    relational-schemas Database.Custom.IBMDB2

    Interface to compose phantom Maybe nested type.

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

    relational-schemas Database.Custom.IBMDB2

    Interface to control Maybe of phantom type in records.

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

    relational-schemas Database.Custom.IBMDB2

    Aggregation function AVG.

  6. caseMaybe :: (OperatorContext c, PersistableWidth b) => Record c a -> [(Record c a, Record c (Maybe b))] -> Record c (Maybe b)

    relational-schemas Database.Custom.IBMDB2

    Null default version of case'.

  7. caseSearchMaybe :: (OperatorContext c, PersistableWidth a) => [(Predicate c, Record c (Maybe a))] -> Record c (Maybe a)

    relational-schemas Database.Custom.IBMDB2

    Null default version of caseSearch.

  8. flattenMaybe :: ProjectableMaybe p => p (Maybe (Maybe a)) -> p (Maybe a)

    relational-schemas Database.Custom.IBMDB2

    Compose nested Maybe phantom type on record.

  9. flattenPiMaybe :: (PersistableWidth a, ProjectableFlattenMaybe (Maybe b) c) => Record cont (Maybe a) -> Pi a b -> Record cont c

    relational-schemas Database.Custom.IBMDB2

    Get narrower record with flatten leaf phantom Maybe types along with projection path.

  10. fromIntegralMaybe :: (SqlContext c, Integral a, Num b) => Record c (Maybe a) -> Record c (Maybe b)

    relational-schemas Database.Custom.IBMDB2

    Number fromIntegral uni-operator.

Page 311 of many | Previous | Next