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

No support for query parameters #32

Open
robertluo opened this issue Jun 21, 2022 · 0 comments
Open

No support for query parameters #32

robertluo opened this issue Jun 21, 2022 · 0 comments

Comments

@robertluo
Copy link
Collaborator

A common scenario is a parameterized query, not plain scalar value. Like in JDBC SQL, one can easily using ? in statement to prepare a statement, while supply the real value in query time. This allows

  • No need to compose query pattern.
  • better performance, since the query itself not changed, hence can be precompiled.

suggestion

User can use input parameters in the statement, like ~username will introduce a input parameter on preparing the statement, and supply the value when run this query.

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