Skip to content

Support sqlalchemy style parameterized queries #37

Open
@andharris

Description

@andharris

I would like to be able to use the sqlalchemy style parameterized queries within this dialect.

from sqlalchemy import text

result = connection.execute(text("SELECT * FROM users WHERE id = :user_id"), user_id=12)

It seems the current implementation only supports pyformat style

result = connection.execute("SELECT * FROM users WHERE id = %(user_id)s", user_id=12)

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