Closed
Description
I'm trying to recreate this query with squirrel:
SELECT id, name
FROM users
WHERE ((name, age)) IN (('Alex', 10), ('Douglas', 40))
The closest I can come up with is this and it's wrong:
query := sq.Select("id, name").
From("users").
Where(sq.Eq{
"((id, name))": []string{"('Alex', 10)", "('Douglas', 40)"},
})
Metadata
Assignees
Labels
No labels
Activity