Skip to content

Inherit CrateDB's _ObjectArray from PostgreSQL's dialect ARRAY? #267

@amotl

Description

@amotl

About

Investigate if this is sensible. I think UserDefinedType should only be used as a last resort, other TypeEngine-based mappings provide better usability.

Code

# TODO: Should this be inherited from PostgreSQL's
# `ARRAY`, in order to improve type checking?
class _ObjectArray(sqltypes.UserDefinedType):
cache_ok = True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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