Skip to content

database/sql: document args #3460

Closed
Closed
@bradfitz

Description

@bradfitz
from golang-nuts:

"""

Greetings goers,

The Query method on sql.DB has the signature "func (db *DB)
Query(query string, args ...interface{})", but the documentation
mentions nothing of the "args" parameter. There are a couple of
instances of its use in Examples throughout the godocs, but it is
never explicitly explained.

Can anyone explain how exactly this works? (or perhaps point me to
some documentation I've overlooked)

Thanks,
S. C. Payson
"""

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions