We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.26.0
Input:
-- name: Insert :exec INSERT INTO authors (name) VALUES (sqlc.arg(name)) ON CONFLICT (name) DO UPDATE SET data = sqlc.arg(data);
Output:
const insert = `-- name: Insert :exec INSERT INTO authors (name) VALUES (?1) ON CONFLICT (name) DO UPDATE SET data = sqlc.arg(data) `
sqlc.arg(name) is recognized, but sqlc.arg(data) is not recognized.
No response
CREATE TABLE authors ( name TEXT NOT NULL UNIQUE, data BLOB NOT NULL );
{ "version": "2", "sql": [{ "schema": "schema.sql", "queries": "query.sql", "engine": "sqlite", "gen": { "go": { "out": "db" } } }] }
https://play.sqlc.dev/p/499d67e9cbdb4e01b7b2be3310bdc5d48e1e2154afc581eb48018e001f05beaf
Windows
SQLite
Go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.26.0
What happened?
Input:
Output:
sqlc.arg(name) is recognized, but sqlc.arg(data) is not recognized.
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/499d67e9cbdb4e01b7b2be3310bdc5d48e1e2154afc581eb48018e001f05beaf
What operating system are you using?
Windows
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: