I am using ActiveAndroid as ORM system in my project and i use this line of code for Query over database
List<Chats> s = new Select()
.from(Chats.class)
.where(col_conversation + " = ? and " + col_sender + " = ? and " + col_body + " = ?",conversation.getId(),sender.getId(),body) .execute();
but it fetch 0 row as result. i am sure that i have such row in database.
Aucun commentaire:
Enregistrer un commentaire