mybatis sql错误?-灵析社区

我头像最美

select JSON_EXTRACT(all_info, '\$[0].motor_controller_temperature') from data_20230217 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: The 'JSON_EXTRACT(all_info, '$' property of null is not a List or Array. 关键是这个sql select JSON_EXTRACT(all_info, '\$[0].motor_controller_temperature') from data_20230217 用navicat运行没有错误

阅读量:24

点赞量:0

问AI
乘03060920
你反斜杠是什么意思,你应该直接就行了 select JSON_EXTRACT(all_info, '$[0].motor_controller_temperature')