Hoogle Search
Within Stackage Nightly 2025-10-08 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
connLimitOffset :: SqlBackend -> (Int, Int) -> Text -> Textpersistent Database.Persist.SqlBackend.Internal Attach a 'LIMIT/OFFSET' clause to a SQL query. Note that LIMIT/OFFSET is problematic for performance, and indexed range queries are the superior way to offer pagination.
connLimitOffset :: MkSqlBackendArgs -> (Int, Int) -> Text -> Textpersistent Database.Persist.SqlBackend.Internal.MkSqlBackend Attach a 'LIMIT/OFFSET' clause to a SQL query. Note that LIMIT/OFFSET is problematic for performance, and indexed range queries are the superior way to offer pagination.
stmtReset :: Statement -> IO ()persistent Database.Persist.SqlBackend.Internal.Statement No documentation available.
-
persistent Database.Persist.TH Settings that can be passed to the mkPersist (mps) function to control what code is generated. This is (just) the data type definition, so you will most likely want to use and adapt concrete values like sqlSettings.
mkPersistSettings :: Type -> MkPersistSettingspersistent Database.Persist.TH Create an MkPersistSettings with default values.
sqlSettings :: MkPersistSettingspersistent Database.Persist.TH Use the SqlPersist backend.
-
persistent Database.Persist.TH.Internal Settings that can be passed to the mkPersist (mps) function to control what code is generated. This is (just) the data type definition, so you will most likely want to use and adapt concrete values like sqlSettings.
mkPersistSettings :: Type -> MkPersistSettingspersistent Database.Persist.TH.Internal Create an MkPersistSettings with default values.
sqlSettings :: MkPersistSettingspersistent Database.Persist.TH.Internal Use the SqlPersist backend.
OffsetBy :: Int -> SelectOpt recordpersistent Database.Persist.Types No documentation available.