trait Illuminate / Database / Concerns / CompilesJsonPaths
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

CompilesJsonPaths

Methods

protected

wrapJsonFieldAndPath ( $column ) : array

Split the given JSON selector into the field and the optional path and wrap them separately.

Parameters

  • $column string
protected

wrapJsonPath ( $value , $delimiter ) : string

Wrap the given JSON path.

Parameters

  • $value string
  • $delimiter string
protected

wrapJsonPathSegment ( $segment ) : string

Wrap the given JSON path segment.

Parameters

  • $segment string