Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须从数据库中删除特定字段包含特定值的所有行。例如,我需要取消字段名称 =“Ricky”的所有行。我应该怎么做才能实现它。我发现:MyDB.delete(TABLE_NAME,"name", "Ricky"); 但它说删除方法不适用于参数(字符串,字符串,字符串)......要修改什么?通过这种方式,这种方法检查数据库的所有行还是我必须为每一行实现一个 for cicle?