I’m trying to connect to my MongoDB Atlas Database via MongoDB Realm. This code worked until I changed the emulator. I inserted and read documents in the database. I actually don’t know if the emulator had some extra settings, but I cannot restore it. I have not changed anything in the Realm Database. What the ..
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 ..
How I add an element in the Atlas database using Realm via Android? First, I created an Atlas database, and after that, I figured out that I cannot connect via Android to the Atlas database. Here is my code, and I’m trying to connect to the database, but I don’t know how… The Login.java activity ..
I’m trying to connect my Android App I’ve made to the Realm MongoDB. The app is part of a project that has a web app too, and the team chose to work in Atlas first. I couldn’t connect my Android App to the cluster. I had a problem with the connection string, but the answers ..
I have few microservices that try to access different collections on mongoDB. Is there a way to restrict access of those services in terms of the queries they can perform on the collections in the db. For example: ServiceA should only be able to read from collectionA and ServiceB can read and write on collectionA. ..
flutter error image1Please help me , help me , i’m really stucked in this[Flutter error][1] Source: Android..
I have deployed a MongoDB which is the database of my Parse server. But I’m not able to upload files more than 700 kilobytes to parse server, with parseFile.saveFileInBackground() function in parse-android-SDK. The exception thrown by callback is I/O Failure, and the cause is timeout. I considered too many issues, and I figured out maybe ..
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 ..

The problem I’m developing an app which uses MongoDB realm and Redux. When only redux is in the project, no problem. But then after debuggin it with realm installed errors started happening. Realm is using port=8083 for its XML requests, while React Native is running by default in port=8081. So, when realm does its first ..
Is there a mobile database (native Android and iOS) that replicates from MongoDB? My goal is to have my documents in MongoDB and when I change something that every mobile client is aware of and pull changes to their own database. So that data can be accessible even when the device is offline. Something like ..
Recent Comments