Skip to content

Support UUID type in the sqlalchemy dialect #63

@ghost

Description

We are facing an issue with the cockroachdb sqlalchemy dialect. We use UUID types in our application but the dialect doesn't support it. Our current solution is to patch the dialect.py and add the UUID type imported from sqlalchemy to the _type_map like so:

from sqlalchemy.dialects.postgresql import UUID

_type_map = dict(
    ...
    uuid=UUID,
)

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