Skip to content

Commit 6f4f20a

Browse files
jakogutalisitsky
authored andcommitted
Add note specifying unsupported @ operator for mysql (sqlc-dev#3190)
1 parent c8d2951 commit 6f4f20a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/howto/named_parameters.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ type UpdateAuthorNameParams struct {
4646
If the `sqlc.arg()` syntax is too verbose for your taste, you can use the `@`
4747
operator as a shortcut.
4848

49+
```{note}
50+
The `@` operator as a shortcut for `sqlc.arg()` is not supported in MySQL.
51+
```
52+
4953
```sql
5054
-- name: UpsertAuthorName :one
5155
UPDATE author

0 commit comments

Comments
 (0)