-
Notifications
You must be signed in to change notification settings - Fork 962
Closed
Labels
bugSomething isn't workingSomething isn't workingtriageNew issues that hasn't been reviewedNew issues that hasn't been reviewed
Description
Version
1.15.0
What happened?
sqlc.narg does not work with strict_function_checks enabled, it throws an error saying narg function not found
Relevant log output
No response
Database schema
CREATE TABLE foo (bar text not null, maybe_bar text);SQL queries
-- name: IdentOnNullable :one
SELECT maybe_bar FROM foo WHERE maybe_bar = sqlc.narg(maybe_bar);Configuration
- schema: "query.sql"
queries: "query.sql"
engine: "postgresql"
strict_function_checks: true
gen:
go:
package: "querytest"
out: "./"
sql_package: "pgx/v4"
emit_prepared_queries: true
emit_json_tags: true
emit_db_tags: true
json_tags_case_style: snakePlayground URL
No response
What operating system are you using?
Windows
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageNew issues that hasn't been reviewedNew issues that hasn't been reviewed