Skip to content

Query binders: Add support for postgres arrays #336

Closed
@nitnelave

Description

@nitnelave

Motivation

Postgres arrays are not supported in the query binders (see #275) or drivers.

Proposed Solutions

We should implement the conversion from Vec<sea-query::Value> to some Vec<sqlx::Encode> in sea-query-binders/src/sqlx_postgres.rs. For this, we'll need to ensure that all values are of the same type, and do a second level of dispatch based on the value types to convert them to the right type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions