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.
PersistInvalidField :: Text -> PersistExceptionesqueleto Database.Esqueleto.Experimental No documentation available.
-
esqueleto Database.Esqueleto.Experimental A raw value which can be stored in any backend and can be marshalled to and from a PersistField.
UnsafeValue :: forall a typ . PersistField a => a -> FilterValue typesqueleto Database.Esqueleto.Experimental No documentation available.
entityVal :: Entity record -> recordesqueleto Database.Esqueleto.Experimental No documentation available.
entityValues :: PersistEntity record => Entity record -> [PersistValue]esqueleto Database.Esqueleto.Experimental Get list of values corresponding to given entity.
-
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.
fromPersistValue :: PersistField a => PersistValue -> Either Text aesqueleto Database.Esqueleto.Experimental No documentation available.
fromPersistValueJSON :: FromJSON a => PersistValue -> Either Text aesqueleto 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
fromPersistValueText :: PersistValue -> Either Text Textesqueleto Database.Esqueleto.Experimental No documentation available.
fromPersistValues :: PersistEntity record => [PersistValue] -> Either Text recordesqueleto Database.Esqueleto.Experimental A lower-level operation to convert from database values to a Haskell record.