Skip to content

Example from readme is invalid #13

Description

@fliespl

You are not taking types into consideration.

Your example from readme is actually "seen" by database general_log as:

INSERT INTO test (col1, col2, col3) VALUES ('hello', '123', NULL) - notice apostrophes around 123.

This due to the fact that when no type is assigned to variable it's being used as PARAM_STR in PDO.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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