catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.83k stars 1.15k forks source link

Error when using json data type in mysql #779

Closed mattshirtliffe closed 3 years ago

mattshirtliffe commented 6 years ago

The value column is a json datatype. I have just switched to text for now.

$database->get("table",['id','key','value'],['key'=>$key]);
catfan commented 6 years ago

You may check about type declaration? https://medoo.in/api/select