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

Does goqu support only the specific(not all) parameters are interpolated in prepared mode #431

Open
zhyee opened this issue Sep 24, 2024 · 0 comments
Assignees

Comments

@zhyee
Copy link

zhyee commented Sep 24, 2024

For example, I want to generate a query like this:

SELECT * FROM `foo` WHERE `status` = 1 AND `bar` = ? LIMIT 10

however I am now only able to generate SQL like

SELECT * FROM `foo` WHERE `status` = ? AND `bar` = ? LIMIT ?

Does goqu support this feature now or have any chance to add it support in the future?

@zhyee zhyee changed the title Does it support only the specific(not all) parameters are interpolated in prepared mode Does goqu support only the specific(not all) parameters are interpolated in prepared mode Sep 24, 2024
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

2 participants