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