Skip to content

Commit 4ca7301

Browse files
authored
fix: fixed typo sql.narg in doc (#1668)
1 parent 304ba5d commit 4ca7301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/howto/named_parameters.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ RETURNING *;
6161

6262
sqlc infers the nullability of any specified parameters, and often does exactly
6363
what you want. If you want finer control over the nullability of your
64-
parameters, you may use `sql.narg()` (**n**ullable arg) to override the default
65-
behavior. Using `sql.narg` tells sqlc to ignore whatever nullability it has
64+
parameters, you may use `sqlc.narg()` (**n**ullable arg) to override the default
65+
behavior. Using `sqlc.narg` tells sqlc to ignore whatever nullability it has
6666
inferred and generate a nullable parameter instead. There is no nullable
6767
equivalent of the `@` syntax.
6868

0 commit comments

Comments
 (0)