Hi! Before submitting an issue, I decided to check...
# issues
d
Hi! Before submitting an issue, I decided to check if this is not expected behavior. Starting version 1.0.1 (1.0.2 shows same behavior) we noticed, that mysql interface does not expect arguments for LIMIT. We use golang mysql module github.com/go-jet/jet/v2/mysql And for the query
Copy code
SELECT limit_param_repro.item_id AS "out_item_id",
     limit_param_repro.sample_score AS "out_sample_score"
FROM limit_param_repro
LIMIT ?;
we have 1 argument:
Copy code
args (1): []interface {}{1}
and we get the below error:
Copy code
run query: sql: expected 0 arguments, got 1
I know that we can enable interpolation on the client side, just wanted to understand if this change was made intentionally (was working with 1.0.0) and there is a mentioning of it somewhere in the release notes, or it can be fixed
e
Could you please submit an issue? We didn’t find related changes between 1.0.0 and 1.0.1.
d