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.
getPsStrictFields :: PersistSettings -> Boolpersistent Database.Persist.Quasi.PersistSettings.Internal Retrieve whether or not the PersistSettings will generate code with strict fields.
getPsTabErrorLevel :: PersistSettings -> Maybe ParserErrorLevelpersistent Database.Persist.Quasi.PersistSettings.Internal Retrieve the severity of the error generated when the parser encounters a tab. If it is Nothing, tabs are permitted in entity definitions.
getPsToDBName :: PersistSettings -> Text -> Textpersistent Database.Persist.Quasi.PersistSettings.Internal Retrieve the function in the PersistSettings that modifies the names into database names.
-
persistent Database.Persist.Sql If the override is defined, then this returns a function that accepts an entity name and field name and provides the ConstraintNameDB for the foreign key constraint. An abstract accessor for the BackendSpecificOverrides
-
persistent Database.Persist.Sql get the SQL string for the field that an EntityField represents Useful for raw SQL queries Your backend may provide a more convenient fieldName function which does not operate in a Monad
getStmtConn :: SqlBackend -> Text -> IO Statementpersistent Database.Persist.Sql No documentation available.
-
persistent Database.Persist.Sql get the SQL string for the table that a PersistEntity represents Useful for raw SQL queries Your backend may provide a more convenient tableName function which does not operate in a Monad
-
persistent Database.Persist.Sql.Migration Return all of the Sql values associated with the given migration. Calls error if there's a parse error on any migration.
getConnHooks :: (BackendCompatible SqlBackend backend, MonadReader backend m) => m SqlBackendHookspersistent Database.Persist.SqlBackend Retrieve instrumentation hooks from the provided database backend.
-
persistent Database.Persist.SqlBackend Decorate the given SQL query with the (LIMIT, OFFSET) specified.