Skip to content

Commit b4def57

Browse files
authored
Add note specifying unsupported @ operator for mysql (#3190)
1 parent a9029d2 commit b4def57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)