Skip to content
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

Delete::many() doesn't work when schema_name is defined #362

Closed
frankhorv opened this issue Dec 8, 2021 · 5 comments · Fixed by #363
Closed

Delete::many() doesn't work when schema_name is defined #362

frankhorv opened this issue Dec 8, 2021 · 5 comments · Fixed by #363
Assignees

Comments

@frankhorv
Copy link
Contributor

I've a PostgreSQL database where tables are located in their schema.
I need to delete multiple rows, so I'm using Delete::many(), but it seems that the schema name is not included in the query, so the database complains about it relation \"valid_table_name\" does not exist

@billy1624
Copy link
Member

Hey @frankhorv, once again thanks for reporting! I will also double check all other CRUD operations where similar problem might have happened.

@billy1624
Copy link
Member

Please try #363

@frankhorv
Copy link
Contributor Author

Works for me, thanks a million.
Great project! Keep going.

@billy1624
Copy link
Member

Thanks for helping out!

tyt2y3 added a commit that referenced this issue Dec 9, 2021
`Delete::many()` with `TableRef`
@tyt2y3
Copy link
Member

tyt2y3 commented Dec 12, 2021

0.4.2

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 a pull request may close this issue.

3 participants