Skip to content

Conversation

@aocneanu
Copy link
Contributor

@aocneanu aocneanu commented Nov 30, 2017

Fixes MySqlGrammar json accessor building when updating a json field with nested columns. Related to #22118

In the current form when we do

$model->update(['jsonColumn->nested->attribute', 'value'])

what gets written in jsonColumn is { nested.attribute: "value" } instead of { nested: { attribute: "value" } }

@aocneanu aocneanu changed the title [5.5] Fixes MySqlGrammar json accessor building. Related to #22118 [5.5] Fixes MySqlGrammar json accessor building. Nov 30, 2017
@themsaid
Copy link
Member

@aocneanu
Copy link
Contributor Author

I just did :)

@taylorotwell taylorotwell merged commit 5662243 into laravel:5.5 Nov 30, 2017
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