Hoogle Search

Within Stackage Nightly 2026-07-01 (ghc-9.12.4)

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

  1. setBackendSpecificForeignKeyCascadeDefault :: CascadeAction -> BackendSpecificOverrides -> BackendSpecificOverrides

    persistent Database.Persist.Sql

    Set the backend's default cascade action.

  2. setBackendSpecificForeignKeyName :: (EntityNameDB -> FieldNameDB -> ConstraintNameDB) -> BackendSpecificOverrides -> BackendSpecificOverrides

    persistent Database.Persist.Sql

    Set the backend's foreign key generation function to this value.

  3. setConnHooks :: SqlBackendHooks -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set hooks on the provided database backend.

  4. setConnInsertManySql :: (EntityDef -> [[PersistValue]] -> InsertSqlResult) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the connInsertManySql field on the SqlBackend. This should only be used by the database backend library to provide an efficient implementation of a bulk insert function. If this is not set, a slow default will be used.

  5. setConnMaxParams :: Int -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the maximum parameters that may be issued in a given SQL query. This should be used only if the database backend have this limitation.

  6. setConnPutManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the 'connPutManySql field on the SqlBackend. This should only be used by the database backend library to provide an efficient implementation of a bulk insert function. If this is not set, a slow default will be used.

  7. setConnRepsertManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the connRepsertManySql field on the SqlBackend. This should only be set by the database backend library. If this is not set, a slow default will be used.

  8. setConnUpsertSql :: (EntityDef -> NonEmpty (FieldNameHS, FieldNameDB) -> Text -> Text) -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the connUpsertSql field on the SqlBackend. This should only be used by the database backend library to provide an efficient implementation of a bulk insert function. If this is not set, a slow default will be used.

  9. setConnVault :: Vault -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the vault on the provided database backend.

  10. setAlterBackend :: SqlPoolHooks m backend -> (backend -> m backend) -> SqlPoolHooks m backend

    persistent Database.Persist.SqlBackend.SqlPoolHooks

    No documentation available.

Page 42 of many | Previous | Next