goqu icon indicating copy to clipboard operation
goqu copied to clipboard

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

Open zhyee opened this issue 1 year ago • 0 comments

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 avatar Sep 24 '24 06:09 zhyee