我在我的项目中使用 ActiveAndroid 作为 ORM 系统,我使用这行代码进行数据库查询
List<Chats> s = new Select()
.from(Chats.class)
.where(col_conversation + " = ? and " + col_sender + " = ? and " + col_body + " = ?",conversation.getId(),sender.getId(),body) .execute();
但它获取 0 行作为结果。我确信我在数据库中有这样的行。