You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I am using mysql, I would like to generate code that accepts multiple values using sqlc.slice.
Example
schema & query
createtablestudents (
id intnot null auto_increment,
name varchar(255) not null,
age intnot null
);
-- name: SelectStudents :manySELECT*FROM students
WHERE age IN (sqlc.slice("ages"));
Since I am using mysql, I would like to generate code that accepts multiple values using sqlc.slice.
Example
schema & query
current results:
i want:
The text was updated successfully, but these errors were encountered: