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

"BETWEEN ? AND ?" not working in SQLite #1958

Closed
TeddyDD opened this issue Nov 17, 2022 · 2 comments
Closed

"BETWEEN ? AND ?" not working in SQLite #1958

TeddyDD opened this issue Nov 17, 2022 · 2 comments
Labels
enhancement New feature or request triage New issues that hasn't been reviewed

Comments

@TeddyDD
Copy link

TeddyDD commented Nov 17, 2022

What do you want to change?

Same request as #1077, but for SQLite

Dumb example:

-- name: ListAuthorBet :many
SELECT * FROM authors
WHERE id BETWEEN ? AND ?;

Results in

func (q *Queries) ListAuthorBet(ctx context.Context) ([]Author, error) {
...

Tested on current main (3623ec8)

What database engines need to be changed?

No response

What programming language backends need to be changed?

No response

@TeddyDD TeddyDD added enhancement New feature or request triage New issues that hasn't been reviewed labels Nov 17, 2022
mcdoker18 added a commit to mcdoker18/sqlc that referenced this issue Nov 26, 2022
mcdoker18 added a commit to mcdoker18/sqlc that referenced this issue Nov 26, 2022
@mvdan
Copy link

mvdan commented Dec 1, 2022

Is this fixed by #1967?

@TeddyDD
Copy link
Author

TeddyDD commented Dec 1, 2022

Yes, thanks for heads up!

@TeddyDD TeddyDD closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage New issues that hasn't been reviewed
Projects
None yet
Development

No branches or pull requests

2 participants