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.

  1. getPsStrictFields :: PersistSettings -> Bool

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Retrieve whether or not the PersistSettings will generate code with strict fields.

  2. getPsTabErrorLevel :: PersistSettings -> Maybe ParserErrorLevel

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

  3. getPsToDBName :: PersistSettings -> Text -> Text

    persistent Database.Persist.Quasi.PersistSettings.Internal

    Retrieve the function in the PersistSettings that modifies the names into database names.

  4. getBackendSpecificForeignKeyName :: BackendSpecificOverrides -> Maybe (EntityNameDB -> FieldNameDB -> ConstraintNameDB)

    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

  5. getFieldName :: forall record typ (m :: Type -> Type) backend . (PersistEntity record, PersistEntityBackend record ~ SqlBackend, BackendCompatible SqlBackend backend, Monad m) => EntityField record typ -> ReaderT backend m Text

    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

  6. getStmtConn :: SqlBackend -> Text -> IO Statement

    persistent Database.Persist.Sql

    No documentation available.

  7. getTableName :: forall record (m :: Type -> Type) backend . (PersistEntity record, BackendCompatible SqlBackend backend, Monad m) => record -> ReaderT backend m Text

    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

  8. getMigration :: forall (m :: Type -> Type) . (MonadIO m, HasCallStack) => Migration -> ReaderT SqlBackend m [Sql]

    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.

  9. getConnHooks :: (BackendCompatible SqlBackend backend, MonadReader backend m) => m SqlBackendHooks

    persistent Database.Persist.SqlBackend

    Retrieve instrumentation hooks from the provided database backend.

  10. getConnLimitOffset :: (BackendCompatible SqlBackend backend, MonadReader backend m) => (Int, Int) -> Text -> m Text

    persistent Database.Persist.SqlBackend

    Decorate the given SQL query with the (LIMIT, OFFSET) specified.

Page 6 of many | Previous | Next