0
I am currently using Laravel to build some projects (personal); I have no experience in the framework, but a problem appeared, apparently due to MYSQL.
I created a table called tabelateste
and in this table the following columns
To update the column params
I used the update according to the Laravel DOC
update(['params->filter' => $request->input('data')]);
But the error is returned
SQLSTATE[42000]: Syntax error or access Violation: 1305 FUNCTION database.json_set does not exist (SQL: update
tabelateste
setparams
= json_set(params
, '$."filter"', 1,2,3) Whereaccount
= 18)
I’ve done the same query
generated by Laravel directly at the Mysql prompt and returned the same error
FUNCTION database.json_set does not exist
The version of my Mysql is 5.7, minimum version requested by Laravel in Doc.