Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. setConnHooks :: SqlBackendHooks -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set hooks on the provided database backend.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. setConnVault :: Vault -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set the vault on the provided database backend.

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

    persistent Database.Persist.SqlBackend.SqlPoolHooks

    No documentation available.

  9. setRunAfter :: SqlPoolHooks m backend -> (backend -> Maybe IsolationLevel -> m ()) -> SqlPoolHooks m backend

    persistent Database.Persist.SqlBackend.SqlPoolHooks

    No documentation available.

  10. setRunBefore :: SqlPoolHooks m backend -> (backend -> Maybe IsolationLevel -> m ()) -> SqlPoolHooks m backend

    persistent Database.Persist.SqlBackend.SqlPoolHooks

    No documentation available.

Page 189 of many | Previous | Next