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
const getAuthor = `-- name: GetAuthor :oneSELECT id, name, bio FROM authorsWHERE id = ?1 AND (?2 IS NULL OR name IN ( SELECT value FROM json_each(@names) ) ) LIMIT 1`
Database schema
No response
SQL queries
-- name: GetAuthor :oneSELECT*FROM authors
WHERE id = @id AND (
@name IS NULLOR name IN (
SELECT value
FROM json_each(@names)
)
) LIMIT1;
Version
1.27.0
What happened?
I've also reported this on sqlc-dev/sqlc-gen-typescript#53.
Relevant log output
Database schema
No response
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/8c9eef14c721c93dbf457729132606f6a7011193f13ad3f20b0ed006ccd40050
What operating system are you using?
Linux
What database engines are you using?
SQLite
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: