Skip to content

Nitpick: sql example screams sql injection #4

Description

@burner

Total nitpick, but the sql example has written sql injection written all over it.
The example is works, but as a casual reader this annoyed me.

At least postgres has its own prepare statement syntax that has something that could be considered to be string interpolation like.
That is just in https://code.dlang.org/packages/dpq2

I would like to see a different example, but as said nitpick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions