Skip to content

Bulk insert assumed that the placeholders will always be at the end #694

@MichaelBui

Description

@MichaelBui

Current regex only accept placeholders at the end of the query:

var valueBracketReg = regexp.MustCompile(`\([^(]*.[^(]\)$`)

This doesn't work with INSERT .... ON DUPLICATE KEY UPDATE....

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