trait Illuminate / Database / Concerns / CompilesJsonPaths

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