Skip to content

Configure placholder identifying character #16

@capc0

Description

@capc0

It would be awesome if we could configure what character acts as the identifiying char for the named attribute.

So instead of using : allow the usage of e.g. @

SELECT * FROM something WHERE id = :id

SELECT * FROM something WHERE id = @id

I want to utilize prepared statements in https://github.com/sidorares/node-mysql2 via .execute in combination with named parameters. Currently all of our code bases uses @ parameters in combination with .query and a custom queryFormat function that replaces these with the actual values.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions