JsonExpression
class JsonExpression extends Expression (View source)
Properties
protected mixed | $value | The value of the expression. | from Expression |
Methods
void | __construct(mixed $value) Create a new raw query expression. | |
mixed | getValue() Get the value of the expression. | from Expression |
string | __toString() Get the value of the expression. | from Expression |
string | getJsonBindingParameter(mixed $value) Translate the given value into the appropriate JSON binding parameter. |
Details
void __construct(mixed $value)
Create a new raw query expression.
mixed getValue()
Get the value of the expression.
string __toString()
Get the value of the expression.
protected string getJsonBindingParameter(mixed $value)
Translate the given value into the appropriate JSON binding parameter.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Database/Query/JsonExpression.html