Related questions
How do I view my Realm file in the Realm Browser?
I've just discovered Realm and wanted to explore it in more detail so I decided to create sample application and having a mess around with it. So far so good.
However, one thing I haven't been able to work out …
How to delete object from Realm Database Android?
I want remove all message object from realm those are equal to userid
RealmQuery<Message> rowQuery = realm.where(Message.class).equalTo(Message.USER_ID, userId);
realm.beginTransaction();
//TODO : here I want to remove all messages where userId is …
How to set primary key auto increment in realm android
I want to set primary key auto increment for my table.
Here is my Class. I have set primary key but I want it to be auto increment primary key.
public class users extends RealmObject {
@PrimaryKey
private int id;
private …