Hoogle Search

Within Stackage Nightly 2025-09-26 (ghc-9.12.2)

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

  1. setPsToDBName :: (Text -> Text) -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Set the name modification function that translates the QuasiQuoted names for use in the database.

  2. setPsToFKName :: (EntityNameHS -> ConstraintNameHS -> Text) -> PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Set a custom function used to create the constraint name for a foreign key.

  3. setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    A preset configuration function that puts an underscore between the entity name and the constraint name when creating a foreign key constraint name

  4. setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettings

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead

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

    persistent Database.Persist.Sql

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

  6. setConnHooks :: SqlBackendHooks -> SqlBackend -> SqlBackend

    persistent Database.Persist.SqlBackend

    Set hooks on the provided database backend.

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

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

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

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

Page 30 of many | Previous | Next