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

Can't write IntoInsertStatement in constraints #590

Closed
jethrogb opened this Issue Jan 25, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@jethrogb
Contributor

jethrogb commented Jan 25, 2017

Direct cause is that the types in query_builder::returning_clause are not exported

@jethrogb

This comment has been minimized.

Contributor

jethrogb commented Jan 25, 2017

This can probably be solved by putting the default type parameters back on IntoInsertStatement

@jethrogb jethrogb changed the title from Types in query_builder::returning_clause are not exported to Can't write IntoInsertStatement in constraints Jan 25, 2017

sgrif added a commit that referenced this issue Feb 17, 2017

Remove the final type parameter from `IntoInsertStatement`
The type `NoReturningClause` is actually a voldemort type outside of our
crate. We could fix this by adding the default back to the type
parameter, but the parameter is never really used so we can just remove
it.

Fixes #590.

@sgrif sgrif closed this in #724 Feb 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment