Skip to content

Implement PgHasArrayType trait for PgLQuery #2246

@mlesin

Description

@mlesin

Is your feature request related to a problem? Please describe.
I do need to use ? operator from postgresql ltree extension, which expects array of lquery on right hand side of expression, but doing so I'm getting the trait `PgHasArrayType` is not implemented for `PgLQuery` compilation error

Describe the solution you'd like
I think we should implement PgHasArrayType trait for PgLQuery

Describe alternatives you've considered
There is a workaround for now to pass array of text and make type cast in SQL query itself, like $1::lquery[]

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions