Version
1.12.0
What happened?
The sqlc.arg raises error when using with nullable => true argument:
sqlc.arg('user_id', nullable => true)
Error:
expected 1 parameter to sqlc.arg; got 2
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
Version
1.12.0
What happened?
The
sqlc.argraises error when using withnullable => trueargument:Error:
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go