We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
create type pair as (one int, two int); create table test (id int primary key, pairs pair[]);
#[derive(sqlx::Type)] #[sqlx(type_name = "pair")] struct Pair { one: i32, two: i32, } #[derive(sqlx::Type)] #[sqlx(type_name = "_pair")] struct WrappedPairs(Vec<Pair>);
sqlx::query!( "INSERT INTO test VALUES($1, $2)", 0, WrappedPairs(vec![Pair { one: 4, two: 20 }]) as _ ) .execute(pool) .await?;
Perhaps I do it wrong, but this code gives me Protocol("execute: unexpected message: PortalSuspended").
Protocol("execute: unexpected message: PortalSuspended")
The text was updated successfully, but these errors were encountered:
Closed by #1363
Sorry, something went wrong.
No branches or pull requests
Hello,
DDL
Rust structs
Query
Perhaps I do it wrong, but this code gives me
Protocol("execute: unexpected message: PortalSuspended")
.The text was updated successfully, but these errors were encountered: