Skip to content

Decimal type support is missing #408

Open

Description

@kotofos

Support for decimal type is missing from ParamEscaper.escape_item

Reproduce:

engine = create_engine(url)
q = text('select * from test where a = :param')
q = q.bindparams(bindparam('param', Decimal('1.0')))
# Raises exc.ProgrammingError "Unsupported object 1.0"
engine.execute(q)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions