Hoogle Search
Within Stackage Nightly 2025-09-30 (ghc-9.12.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
decorateSQLWithLimitOffset :: Text -> (Int, Int) -> Text -> Textpersistent Database.Persist.Sql Generates sql for limit and offset for postgres, sqlite and mysql.
stmtReset :: Statement -> IO ()persistent Database.Persist.Sql No documentation available.
connLimitOffset :: SqlBackend -> (Int, Int) -> Text -> Textpersistent Database.Persist.Sql.Types.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.
stmtReset :: Statement -> IO ()persistent Database.Persist.Sql.Types.Internal No documentation available.
connLimitOffset :: MkSqlBackendArgs -> (Int, Int) -> Text -> Textpersistent Database.Persist.SqlBackend 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.
-
persistent Database.Persist.SqlBackend Decorate the given SQL query with the (LIMIT, OFFSET) specified.
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.