From 3273fda49d1480183212f20dab77893eb758ec76 Mon Sep 17 00:00:00 2001 From: Akhil Mohan Date: Thu, 9 Jun 2022 23:16:58 +0530 Subject: [PATCH] fix: fixed typo `sql.narg` in doc --- docs/howto/named_parameters.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/howto/named_parameters.md b/docs/howto/named_parameters.md index 98d27df283..fb7c842699 100644 --- a/docs/howto/named_parameters.md +++ b/docs/howto/named_parameters.md @@ -61,8 +61,8 @@ RETURNING *; sqlc infers the nullability of any specified parameters, and often does exactly what you want. If you want finer control over the nullability of your -parameters, you may use `sql.narg()` (**n**ullable arg) to override the default -behavior. Using `sql.narg` tells sqlc to ignore whatever nullability it has +parameters, you may use `sqlc.narg()` (**n**ullable arg) to override the default +behavior. Using `sqlc.narg` tells sqlc to ignore whatever nullability it has inferred and generate a nullable parameter instead. There is no nullable equivalent of the `@` syntax.