diff --git a/IHP/Pagination/ControllerFunctions.hs b/IHP/Pagination/ControllerFunctions.hs index 49baf275b..df2a2cb27 100644 --- a/IHP/Pagination/ControllerFunctions.hs +++ b/IHP/Pagination/ControllerFunctions.hs @@ -173,7 +173,7 @@ defaultPaginationOptions = -- -- __Example:__ -- --- > (users, pagination) <- paginatedSqlQuery "SELECT id, firstname, lastname FROM users" () +-- > (users, pagination) <- paginatedSqlQuery "SELECT id, firstname, lastname FROM users" [] -- -- Take a look at "IHP.QueryBuilder" for a typesafe approach on building simple queries. -- @@ -196,7 +196,7 @@ paginatedSqlQuery = paginatedSqlQueryWithOptions defaultPaginationOptions -- > (users, pagination) <- paginatedSqlQueryWithOptions -- > (defaultPaginationOptions |> set #maxItems 10) -- > "SELECT id, firstname, lastname FROM users" --- > () +-- > [] -- -- Take a look at "IHP.QueryBuilder" for a typesafe approach on building simple queries. --