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. PersistInvalidField :: Text -> PersistException

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  2. data PersistValue

    esqueleto Database.Esqueleto.Experimental

    A raw value which can be stored in any backend and can be marshalled to and from a PersistField.

  3. UnsafeValue :: forall a typ . PersistField a => a -> FilterValue typ

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  4. entityVal :: Entity record -> record

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  5. entityValues :: PersistEntity record => Entity record -> [PersistValue]

    esqueleto Database.Esqueleto.Experimental

    Get list of values corresponding to given entity.

  6. filterClauseWithVals :: PersistEntity val => Maybe FilterTablePrefix -> SqlBackend -> [Filter val] -> (Text, [PersistValue])

    esqueleto Database.Esqueleto.Experimental

    Render a [Filter record] into a Text value suitable for inclusion into a SQL query, as well as the [PersistValue] to properly fill in the ? place holders.

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

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

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

    esqueleto Database.Esqueleto.Experimental

    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
    

  9. fromPersistValueText :: PersistValue -> Either Text Text

    esqueleto Database.Esqueleto.Experimental

    No documentation available.

  10. fromPersistValues :: PersistEntity record => [PersistValue] -> Either Text record

    esqueleto Database.Esqueleto.Experimental

    A lower-level operation to convert from database values to a Haskell record.

Page 7 of many | Previous | Next