select id, role_id,feature_id,remark,create_time,update_time from tb_role_feature where `role_id` = 1
> ERROR: operator does not exist: ` bigint
LINE 1: ...reate_time,update_time from tb_role_feature where `role_id` ...
^
HINT: No operator matches the given name and argument type. You might need to add an explicit type cast.
解决:去掉role_id前后的符号即可解决
修复SQL错误:移除role_id操作符符号
该博客介绍了在查询tb_role_feature表时遇到的`bigint`操作符错误,解决方案是删除role_id字段前后不必要的符号,以确保SQL语句正确执行。
4115

被折叠的 条评论
为什么被折叠?



