"message":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar,start_time)=\"2021-04-05 21:58:23\"' at line 1","code":"ER_PARSE_ERROR","errno":1064,"sqlState":"42000","sqlMessage":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar,start_time)=\"2021-04-05 21:58:23\"' at line 1"} 类似这样的,那要在哪里弄sql比较好 或者怎么让string类型和数据库里面的datetime比较大小
你这是在拼sql么?
为什么要在小程序的前端拼sql?
报错内容是什么?
已解决