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. PersistTimeOfDay :: TimeOfDay -> PersistValue

    esqueleto Database.Esqueleto

    No documentation available.

  2. PersistUTCTime :: UTCTime -> PersistValue

    esqueleto Database.Esqueleto

    No documentation available.

  3. type PersistUnique a = PersistUniqueWrite a

    esqueleto Database.Esqueleto

    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.

  4. class PersistStoreRead backend => PersistUniqueRead backend

    esqueleto Database.Esqueleto

    Queries against Unique keys (other than the id Key). Please read the general Persistent documentation to learn how to create Unique keys. Using this with an Entity without a Unique key leads to undefined behavior. A few of these functions require a single Unique, so using an Entity with multiple Uniques is also undefined. In these cases persistent's goal is to throw an exception as soon as possible, but persistent is still transitioning to that. SQL backends automatically create uniqueness constraints, but for MongoDB you must manually place a unique index on a field to have a uniqueness constraint.

  5. class (PersistUniqueRead backend, PersistStoreWrite backend) => PersistUniqueWrite backend

    esqueleto Database.Esqueleto

    Some functions in this module (insertUnique, insertBy, and replaceUnique) first query the unique indexes to check for conflicts. You could instead optimistically attempt to perform the operation (e.g. replace instead of replaceUnique). However,

    • there is some fragility to trying to catch the correct exception and determing the column of failure;
    • an exception will automatically abort the current SQL transaction.

  6. newtype PersistUnsafeMigrationException

    esqueleto Database.Esqueleto

    An exception indicating that Persistent refused to run some unsafe migrations. Contains a list of pairs where the Bool tracks whether the migration was unsafe (True means unsafe), and the Sql is the sql statement for the migration.

  7. PersistUnsafeMigrationException :: [(Bool, Sql)] -> PersistUnsafeMigrationException

    esqueleto Database.Esqueleto

    No documentation available.

  8. data PersistUpdate

    esqueleto Database.Esqueleto

    No documentation available.

  9. data PersistValue

    esqueleto Database.Esqueleto

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

  10. data PersistentSqlException

    esqueleto Database.Esqueleto

    No documentation available.

Page 14 of many | Previous | Next