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. keyToValues :: PersistEntity record => Key record -> [PersistValue]

    esqueleto Database.Esqueleto

    A lower-level key operation.

  2. keyValueEntityFromJSON :: (PersistEntity record, FromJSON record) => Value -> Parser (Entity record)

    esqueleto Database.Esqueleto

    Predefined parseJSON. The input JSON looks like {"key": 1, "value": {"name": ...}}. The typical usage is:

    instance FromJSON (Entity User) where
    parseJSON = keyValueEntityFromJSON
    

  3. keyValueEntityToJSON :: (PersistEntity record, ToJSON record) => Entity record -> Value

    esqueleto Database.Esqueleto

    Predefined toJSON. The resulting JSON looks like {"key": 1, "value": {"name": ...}}. The typical usage is:

    instance ToJSON (Entity User) where
    toJSON = keyValueEntityToJSON
    

  4. persistUniqueToValues :: PersistEntity record => Unique record -> [PersistValue]

    esqueleto Database.Esqueleto

    A lower level operation.

  5. toPersistValue :: PersistField a => a -> PersistValue

    esqueleto Database.Esqueleto

    No documentation available.

  6. toPersistValueJSON :: ToJSON a => a -> PersistValue

    esqueleto Database.Esqueleto

    Convenience function for getting a free PersistField instance from a type with JSON instances. Example usage in combination with fromPersistValueJSON:

    instance PersistField MyData where
    fromPersistValue = fromPersistValueJSON
    toPersistValue = toPersistValueJSON
    

  7. unValue :: Value a -> a

    esqueleto Database.Esqueleto

    No documentation available.

  8. data FilterValue typ

    esqueleto Database.Esqueleto.Experimental

    Value to filter with. Highly dependant on the type of filter used.

  9. FilterValue :: forall typ . typ -> FilterValue typ

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  10. FilterValues :: forall typ . [typ] -> FilterValue typ

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

Page 6 of many | Previous | Next