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. fromIntegralMaybe :: (SqlContext c, Integral a, Num b) => Record c (Maybe a) -> Record c (Maybe b)

    relational-schemas Database.Custom.SQLServer

    Number fromIntegral uni-operator.

  2. fromMaybe :: (OperatorContext c, HasColumnConstraint NotNull r) => Record c r -> Record c (Maybe r) -> Record c r

    relational-schemas Database.Custom.SQLServer

    Operator from maybe type using record extended isNull.

  3. likeMaybe :: (OperatorContext c, IsString a, LiteralSQL a) => Record c (Maybe a) -> a -> Record c (Maybe Bool)

    relational-schemas Database.Custom.SQLServer

    String-compare operator corresponding SQL LIKE . Maybe type version.

  4. likeMaybe' :: (OperatorContext c, IsString a) => Record c (Maybe a) -> Record c (Maybe a) -> Record c (Maybe Bool)

    relational-schemas Database.Custom.SQLServer

    String-compare operator corresponding SQL LIKE .

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

    relational-schemas Database.Custom.SQLServer

    Aggregation function MAX.

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

    relational-schemas Database.Custom.SQLServer

    Aggregation function MIN.

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

    relational-schemas Database.Custom.SQLServer

    Number negate uni-operator corresponding SQL -.

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

    relational-schemas Database.Custom.SQLServer

    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
    

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

    relational-schemas Database.Custom.SQLServer

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

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

    relational-schemas Database.Custom.SQLServer

    Unsafely show number into string-like type in records.

Page 320 of many | Previous | Next