Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/database-security/parameterized-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Here's an example of a prepared statement with parameterized queries:

```go
customerName := r.URL.Query().Get("name")
db.Exec("UPDATE creditcards SET name=? WHERE customerId=?", customerName, 233, 90)
db.Exec("UPDATE creditcards SET name=? WHERE customerId=?", customerName, 233)
```

Sometimes a prepared statement is not what you want. There might be several
Expand Down