Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

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

  1. toPersistFields :: PersistEntity record => record -> [PersistValue]

    esqueleto Database.Esqueleto.Experimental

    A meta-operation to get the database fields of a record.

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

    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
    

  4. class HasPersistBackend backend

    esqueleto Database.Esqueleto.Legacy

    Class which allows the plucking of a BaseBackend backend from some larger type. For example, instance HasPersistBackend (SqlReadBackend, Int) where type BaseBackend (SqlReadBackend, Int) = SqlBackend persistBackend = unSqlReadBackend . fst

  5. class HasPersistBackend backend => IsPersistBackend backend

    esqueleto Database.Esqueleto.Legacy

    Class which witnesses that backend is essentially the same as BaseBackend backend. That is, they're isomorphic and backend is just some wrapper over BaseBackend backend.

  6. type SqlPersistM = SqlPersistT NoLoggingT ResourceT IO

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

  7. type SqlPersistT = ReaderT SqlBackend

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

  8. fromPersistValue :: PersistField a => PersistValue -> Either Text a

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

  9. fromPersistValueJSON :: FromJSON a => PersistValue -> Either Text a

    esqueleto Database.Esqueleto.Legacy

    Convenience function for getting a free PersistField instance from a type with JSON instances. The JSON parser used will accept JSON values other that object and arrays. So, if your instance serializes the data to a JSON string, this will still work. Example usage in combination with toPersistValueJSON:

    instance PersistField MyData where
    fromPersistValue = fromPersistValueJSON
    toPersistValue = toPersistValueJSON
    

  10. fromPersistValueText :: PersistValue -> Either Text Text

    esqueleto Database.Esqueleto.Legacy

    No documentation available.

Page 49 of many | Previous | Next