Replies: 1 comment 2 replies
-
You are missing the type hints ::INT |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am fetching data from a Postgres query and rendering it into a table.
However, all the rows of the table are fetched to the client when the query is run, leading to a very unresponsive page.
Ideally I'd make use of LIMIT and OFFSET offered by Postgres to only bring in the required rows from the PG table to the client.
I could't find any examples in the documentation for something like this. Perhaps something like below would be ideal but I am unable to make the
Table
component supply the limit and offset values to my query.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions