Skip to content

Switch most of badges and keywords to use diesel #723

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

Merged
merged 5 commits into from
May 13, 2017

Conversation

carols10cents
Copy link
Member

Also a fix for #722.

@@ -60,58 +56,26 @@ impl Keyword {
struct NewKeyword<'a> {
keyword: &'a str,
}
sql_function!(lower, lower_t, (x: ::diesel::types::Text) -> ::diesel::types::Text);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to keep these definitions close to where they're used for functions which can have varying signatures, but I don't feel strongly about it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I don't think lower is going to have a varying signature.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It varies due to nullability (which is why I don't expose it in Diesel proper)

@carols10cents carols10cents merged commit 71791be into rust-lang:master May 13, 2017
@carols10cents carols10cents deleted the moar-diesel branch May 13, 2017 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants