Skip to content

Remove extra argument#110

Open
pandineer wants to merge 1 commit intoOWASP:developfrom
pandineer:remove-extra-argument
Open

Remove extra argument#110
pandineer wants to merge 1 commit intoOWASP:developfrom
pandineer:remove-extra-argument

Conversation

@pandineer
Copy link

Hi,

In the sample code in the "Parameterized Queries" section, there seems to be an extra argument passed to db.Exec.

The SQL query contains two placeholders ("?"), but three arguments are provided.

This PR removes the extra argument to make the example consistent with the query.

Thank you for your work!

@pandineer pandineer changed the title remove extra argument Remove extra argument Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant