尝试运行以下查询时遇到连接问题:
"SELECT box_id, longestDimension from box where longestDimension != '' AND box_id == 'Box11'"
只有这个才能正常工作
"SELECT box_id, longestDimension from box where longestDimension != ''"
所以我猜这个问题就是这个
box_id == 'Box11'
此代码正在通过nodeJs
运行答案 0 :(得分:0)
当然John,operator ==在mysql中不存在
"SELECT box_id, longestDimension from box where longestDimension != '' AND box_id = 'Box11'"
必须像这样