Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. from6 :: (a, b, c, d, e, f) -> ((a, b), (c, d), (e, f))

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  2. from6P :: Proxy (a, b, c, d, e, f) -> Proxy ((a, b), (c, d), (e, f))

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  3. from7 :: (a, b, c, d, e, f, g) -> ((a, b), (c, d), (e, f), g)

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  4. from7P :: Proxy (a, b, c, d, e, f, g) -> Proxy ((a, b), (c, d), (e, f), g)

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  5. from8 :: (a, b, c, d, e, f, g, h) -> ((a, b), (c, d), (e, f), (g, h))

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  6. from8P :: Proxy (a, b, c, d, e, f, g, h) -> Proxy ((a, b), (c, d), (e, f), (g, h))

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  7. from9 :: (a, b, c, d, e, f, g, h, i) -> ((a, b), (c, d), (e, f), (g, h), i)

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  8. from9P :: Proxy (a, b, c, d, e, f, g, h, i) -> Proxy ((a, b), (c, d), (e, f), (g, h), i)

    esqueleto Database.Esqueleto.Internal.Internal

    No documentation available.

  9. fromBaseId :: ToBaseId ent => SqlExpr (Value (Key (BaseEnt ent))) -> SqlExpr (Value (Key ent))

    esqueleto Database.Esqueleto.Internal.Internal

    The inverse of toBaseId. Note that this is somewhat less "safe" than toBaseId. Calling toBaseId will usually mean that a foreign key constraint is present that guarantees the presence of the base ID. fromBaseId has no such guarantee. Consider the code example given in toBaseId:

    Bar
    barNum Int
    Foo
    bar BarId
    fooNum Int
    Primary bar
    
    instance ToBaseId Foo where
    type BaseEnt Foo = Bar
    toBaseIdWitness barId = FooKey barId
    
    The type of toBaseId for Foo would be:
    toBaseId :: SqlExpr (Value FooId) -> SqlExpr (Value BarId)
    
    The foreign key constraint on Foo means that every FooId points to a BarId in the database. However, fromBaseId will not have this:
    fromBaseId :: SqlExpr (Value BarId) -> SqlExpr (Value FooId)
    

  10. fromBaseIdMaybe :: ToBaseId ent => SqlExpr (Value (Maybe (Key (BaseEnt ent)))) -> SqlExpr (Value (Maybe (Key ent)))

    esqueleto Database.Esqueleto.Internal.Internal

    As fromBaseId, but works on Maybe keys.

Page 6 of many | Previous | Next