Skip to content

[5.6] Fix SQLite update for complex update statements#22366

Merged
taylorotwell merged 1 commit into
laravel:masterfrom
abdumu:fixSQLiteUpdate
Dec 16, 2017
Merged

[5.6] Fix SQLite update for complex update statements#22366
taylorotwell merged 1 commit into
laravel:masterfrom
abdumu:fixSQLiteUpdate

Conversation

@abdumu

@abdumu abdumu commented Dec 8, 2017

Copy link
Copy Markdown
Contributor

Current SQLite update implementation lack the support for complex statement like joins, or limits. This PR solves that.

It's to complete what I started here #22298

@abdumu abdumu changed the title Fix SQLite update for complex delete statements Fix SQLite update for complex update statements Dec 8, 2017
@GrahamCampbell GrahamCampbell changed the title Fix SQLite update for complex update statements [5.6] Fix SQLite update for complex update statements Dec 9, 2017
@taylorotwell

Copy link
Copy Markdown
Member

@themsaid can you review this?

@themsaid

Copy link
Copy Markdown
Member

@abdumu I don't understand the part where you do Str::after($key, $query->from.'.'), can you explain it more?

@abdumu

abdumu commented Dec 12, 2017

Copy link
Copy Markdown
Contributor Author

Qualified column names are not supported in SQLite update statement. Remove it and try the tests to understand it more.

@themsaid themsaid self-requested a review December 12, 2017 19:56
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.

3 participants