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

Database - Update with join #5941

Closed
najdanovicivan opened this issue Apr 4, 2020 · 1 comment
Closed

Database - Update with join #5941

najdanovicivan opened this issue Apr 4, 2020 · 1 comment

Comments

@najdanovicivan
Copy link
Contributor

najdanovicivan commented Apr 4, 2020

I see in database classes that there's no support for update with joins.

More info here
MYSQL - https://www.mysqltutorial.org/mysql-update-join/
PostgreSQL - Does Not Support It
SQLite - Does Not Support It
MSSQL - https://www.sqlshack.com/an-overview-of-sql-server-update-join/

Additionally implementation using the WHERE method is also impossible as From section does not allow multiple tables to be used. There's also no support for $escape parameter in from method which makes even passing the formatted from string impossible.

@najdanovicivan
Copy link
Contributor Author

I'll work on implementing join support for MySQL. I'll see what I can do about MSSQL since I don't use windows.

@narfbg narfbg closed this as completed Jan 5, 2022
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

No branches or pull requests

2 participants