Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setPsToFKName :: (EntityNameHS -> ConstraintNameHS -> Text) -> PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings.Internal Set a custom function used to create the constraint name for a foreign key.
setPsUseSnakeCaseForeignKeys :: PersistSettings -> PersistSettingspersistent 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
setPsUseSnakeCaseForiegnKeys :: PersistSettings -> PersistSettingspersistent Database.Persist.Quasi.PersistSettings.Internal Deprecated: use the correctly spelled, equivalent, setPsUseSnakeCaseForeignKeys instead
- 
persistent Database.Persist.Sql Set the backend's foreign key generation function to this value.
 setConnHooks :: SqlBackendHooks -> SqlBackend -> SqlBackendpersistent Database.Persist.SqlBackend Set hooks on the provided database backend.
- 
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.
 setConnMaxParams :: Int -> SqlBackend -> SqlBackendpersistent 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.
setConnPutManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackendpersistent 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.
setConnRepsertManySql :: (EntityDef -> Int -> Text) -> SqlBackend -> SqlBackendpersistent 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.
- 
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.