Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom row limits for queries #398

Open
mvaldez-eti opened this issue Nov 30, 2023 · 0 comments
Open

Custom row limits for queries #398

mvaldez-eti opened this issue Nov 30, 2023 · 0 comments

Comments

@mvaldez-eti
Copy link

I found out that the limit for queries to databases is defaulted on 100 in the code. On: Rath\packages\rath-client\src\pages\dataConnection\database\form\utils.tsx. This can be changed by writing a query manually and changing the limit clause, but for unexperienced users this could be difficult since there is no interface to change it when creating the connection to a database. What i manage was to change it in the code.

ReturnType<typeof fetchTableDetail> => { const payload: Parameters<typeof fetchTableDetail>[1] = { uri: params.connectUri, sourceType: params.sourceType, table: page.path.at(-1)?.key ?? null, rowsNum: '1000', credentials: config.credentials === 'json' ? params.credentials : undefined, }

Can an interfase or option be added when creating the connection to select the limit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant