$user = Db::name('cs')
->json(['info'])
->where('info->nickname','ThinkPHP')
->find();
抛出错误 Syntax error or access violation: 1305 FUNCTION itlua.json_extract does not exist in /www/wwwroot/itlua.com/chen/vendor/topthink/think-orm/src/db/PDOConnection.php:768
$user = Db::name('cs')
->json(['info'])
->find();
不加where返回的结果info字段是ob
为什么加了where就抛出错误?我跟着官方文档来学习的呀????
最佳答案