Skip to content

support parameterized query in Postgres extended query protocol #205

@BugenZhao

Description

@BugenZhao

We have the basic support for Postgres extended query protocol. However, as there is no SLT syntax available for the individual steps of Parse and Bind, we always query with a full SQL and no parameters.

let stmt = self.client.prepare(sql).await?;
let rows = self
.client
.query_raw(&stmt, std::iter::empty::<&(dyn ToSql + Sync)>())
.await?;

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