Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
PersistLiteralEscaped :: ByteString -> PersistValuepersistent-mtl Database.Persist.Sql.Shim This pattern synonym used to be a data constructor on PersistValue, but was changed into a catch-all pattern synonym to allow backwards compatiblity with database types. See the documentation on PersistDbSpecific for more details.
PersistLiteral_ :: LiteralType -> ByteString -> PersistValuepersistent-mtl Database.Persist.Sql.Shim This constructor is used to specify some raw literal value for the backend. The LiteralType value specifies how the value should be escaped. This can be used to make special, custom types avaialable in the back end.
PersistMap :: [(Text, PersistValue)] -> PersistValuepersistent-mtl Database.Persist.Sql.Shim No documentation available.
PersistMarshalError :: Text -> PersistExceptionpersistent-mtl Database.Persist.Sql.Shim No documentation available.
PersistMongoDBError :: Text -> PersistExceptionpersistent-mtl Database.Persist.Sql.Shim No documentation available.
PersistMongoDBUnsupported :: Text -> PersistExceptionpersistent-mtl Database.Persist.Sql.Shim No documentation available.
-
persistent-mtl Database.Persist.Sql.Shim No documentation available.
PersistObjectId :: ByteString -> PersistValuepersistent-mtl Database.Persist.Sql.Shim Intended especially for MongoDB backend
type
PersistQuery a = PersistQueryWrite apersistent-mtl Database.Persist.Sql.Shim A backwards-compatible alias for those that don't care about distinguishing between read and write queries. It signifies the assumption that, by default, a backend can write as well as read.
class (PersistCore backend, PersistStoreRead backend) =>
PersistQueryRead backendpersistent-mtl Database.Persist.Sql.Shim Backends supporting conditional read operations.