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.
-
relational-schemas Database.Custom.SQLite3 Get narrower record with flatten leaf phantom Maybe types along with projection path.
fromIntegralMaybe :: (SqlContext c, Integral a, Num b) => Record c (Maybe a) -> Record c (Maybe b)relational-schemas Database.Custom.SQLite3 Number fromIntegral uni-operator.
-
relational-schemas Database.Custom.SQLite3 Operator from maybe type using record extended isNull.
-
relational-schemas Database.Custom.SQLite3 String-compare operator corresponding SQL LIKE . Maybe type version.
-
relational-schemas Database.Custom.SQLite3 String-compare operator corresponding SQL LIKE .
-
relational-schemas Database.Custom.SQLite3 Aggregation function MAX.
-
relational-schemas Database.Custom.SQLite3 Aggregation function MIN.
negateMaybe :: (OperatorContext c, Num a) => Record c (Maybe a) -> Record c (Maybe a)relational-schemas Database.Custom.SQLite3 Number negate uni-operator corresponding SQL -.
-
relational-schemas Database.Custom.SQLite3 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
queryMaybe' :: MonadQuery m => Relation p r -> m (PlaceHolders p, Record Flat (Maybe r))relational-schemas Database.Custom.SQLite3 Join sub-query with place-holder parameter p. Query result is Maybe.