Pagination of SQL Queries #6302
Replies: 1 comment 4 replies
-
Hi @PaulMcF1987 If you are getting this type of message To the point of pagination, when using a SQL datasource in a Data Provider and checking the pagination checkbox, it will do the pagination for you. I see you raised an bug here: #6226 It was recommended that you try using limit/offset, however I don't know that this would allow you to use the pagination option in a table component. You may need to build some custom view with buttons for next page/previous page, and then pass through binding values for the limit and offset, when you get the SQL syntax correct. |
Beta Was this translation helpful? Give feedback.
-
Has anyone managed to add pagination into their SQL Query within budybase?
I have tried a few things and nothing seems to work.
Using OFFSET and FETCH, I get the error
Query Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY' at line 5
Using Offset and Limit I get the error
Query Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 10 offset 10; LIMIT 10 offset 20' at line 6
Is there a better wat to achieve pagination
Or... In regards to this issue - #2585
Has this been fully resolved...
Is there any way to filter with conditions
AND
,OR
etc?Beta Was this translation helpful? Give feedback.
All reactions