Skip to content

Add the possibility to chose a custom prefix for named parameters #304

@skoot

Description

@skoot

We use postgres and we have a bunch of queries in which we use the ::TEXT or ::INT syntax. Escaping them isn't convenient, and we just wouldn't have to if we were able to chose another character for the named params (like "@").

Letting users chose their own character prefix for named variable would be neat.

It could very easily be done on the package level by using a global variable, or it could be set on the connection level and then passed all the way down to the compileNamedQuery function.

What do you think?

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