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

Document Template SQL file support #7

Open
kdhrubo opened this issue Jan 19, 2024 · 1 comment
Open

Document Template SQL file support #7

kdhrubo opened this issue Jan 19, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@kdhrubo
Copy link
Collaborator

kdhrubo commented Jan 19, 2024

So what it does is you can write SQL with conditions and named parameters and store those with DB2REST. Then DB2REST will call those based on URL request and return results

@thadguidry
Copy link
Collaborator

Make sure we something to the effect of this:

99% of the time your subqueries likely NEED and should be rewritten as JOINs. But in DB2Rest, if you REALLY need to do a subquery (i.e. not rely on the columns in the outer query) then you will need to use a CUSTOM SQL EXPRESSION

@kdhrubo kdhrubo changed the title Document custom query Document Template SQL file support Nov 14, 2024
@kdhrubo kdhrubo self-assigned this Nov 14, 2024
@kdhrubo kdhrubo added the documentation Improvements or additions to documentation label Nov 14, 2024
@kdhrubo kdhrubo added this to the Nov2024 milestone Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants