trait CompilesJsonPaths (View source)
| array | wrapJsonFieldAndPath(string $column)
Split the given JSON selector into the field and the optional path and wrap them separately. | |
| string | wrapJsonPath(string $value, string $delimiter = '->')
Wrap the given JSON path. | |
| string | wrapJsonPathSegment(string $segment)
Wrap the given JSON path segment. |
Split the given JSON selector into the field and the optional path and wrap them separately.
Wrap the given JSON path.
Wrap the given JSON path segment.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/Concerns/CompilesJsonPaths.html