-
Notifications
You must be signed in to change notification settings - Fork 1.4k
sqlx-core: impl IntoArguments for Arguments #3833
New issue
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
base: main
Are you sure you want to change the base?
Conversation
// impl<'q> | ||
// $crate::arguments::IntoArguments< | ||
// 'q, | ||
// <$Arguments as $crate::arguments::Arguments<'q>>::Database, | ||
// > for $Arguments | ||
// { | ||
// fn into_arguments(self) -> $Arguments { | ||
// self | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this macro is obsoleted by this PR then it should just be deleted.
[[test]] | ||
name = "generic-postgres" | ||
path = "tests/generic/postgres.rs" | ||
required-features = ["postgres", "macros"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing newline at the end of this file.
.try_map(|row: <E::Database as Database>::Row| row.try_get::<i32, _>(0)) | ||
.fetch_one(e) | ||
.await | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not immediately obvious how this test relates to the purpose of this PR. Can you add a comment explaining that?
Does your PR solve an issue?
fixes #3834
Is this a breaking change?
struct which impl both
Arguments
andIntoArguments
will conflict now.