Skip to content

non-parameterised queries #35

@SamerElaila

Description

@SamerElaila

const sql = 'DELETE FROM cart WHERE product_id ='+id;

here you are not protected from sql injection.

see this for more information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions