Category : mongodb

This is the code I use to create an object using Realm. I don’t know where the object is created? Where I can see it? I’m trying to add an object to the Atlas database via Realm. Realm realm = Realm.getInstance(new RealmConfiguration.Builder() .allowWritesOnUiThread(true) .build()); realm.executeTransactionAsync(new Realm.Transaction() { @Override public void execute(Realm realm) { Auth user ..

Read more

How can I fetch all the documents whose array field contains atleast 2 items in the array given in the query. Also, I want to limit the result to 10 and then fetch next the 10 documents when the user scrolls ( I know where to place the query in code to detect the user’s ..

Read more