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

Query formatting #69

Closed
anarthal opened this issue May 12, 2022 · 0 comments
Closed

Query formatting #69

anarthal opened this issue May 12, 2022 · 0 comments
Labels
enhancement New feature or request review-issue

Comments

@anarthal
Copy link
Collaborator

anarthal commented May 12, 2022

Allow executing a one-off query with parameters without requiring the user to compose the query by string concatenation.

Ideas:

The ideal syntax would be something like:

conn.query( "SELECT * FROM tb_something WHERE id = ?", id );
@anarthal anarthal added enhancement New feature or request review-issue labels May 12, 2022
@anarthal anarthal changed the title One-off query with parameters Query formatting Jan 7, 2024
This was referenced Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request review-issue
Projects
None yet
Development

No branches or pull requests

1 participant