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
I am trying to update sqlx to 0.7, but Insert trait let mut tx = db.begin().await?; db: impl Executor has no begin method on sqlx 0.7
let mut tx = db.begin().await?;
db: &mut <Db as Database>::Connection, row: impl Insert<Table = Self>, ) -> BoxFuture<Result<Self>> { - row.insert(db) + row.insert(&mut *db) } /// Insert a row into the database, returning the inserted row. - fn insert<'a, 'c: 'a>( + fn insert( self, - db: impl Executor<'c, Database = Db> + 'a, - ) -> BoxFuture<'a, Result<Self::Table>>; + db: &mut impl sqlx::Connection<Database = Db, Options=sqlx::mysql::MySqlConnectOptions>, + ) -> BoxFuture<Result<Self::Table>>; }
The text was updated successfully, but these errors were encountered:
Working on it, finally. (#40)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I am trying to update sqlx to 0.7, but Insert trait
let mut tx = db.begin().await?;
db: impl Executor has no begin method on sqlx 0.7The text was updated successfully, but these errors were encountered: