Good morning/afternoon/evening everyone!
Thank you in advance for your support.
I’m facing an issue where the entire list of ObjectIDs in the collections I need to load into the app is not being retrieved. I’m using Realm with Flutter and the DeviceSync feature to keep the data updated.
According to the Realm documentation, I understand that for any query I want to be real-time, it needs to be subscribed before being used in the project.
Below, I have the data related to the collections that are being returned according to the query I used in the Compass application.
Below, I provide the reference of the ObjectIDs that I am using to list the information mentioned above in Compass.
As shown in the first image above, the first collection has a list of service_providers with a total of 9 items. However, during synchronization to my device, only 3 records are being returned in the ObjectID list. I navigated through the project and there is no filtering or any other operation that would limit the results to only 3 items.
Below, I have included an image of my console and the command I execute to download the data to the device.
Below, I provide the reference of the class I use to map the collection in Mongo.
One question that remains is whether there is some kind of limitation on the number of records. Do I need to apply any other processing to load the entire ObjectID list?
Once again, thank you all for your support.
Have a great week.
P.S.
Please forgive any mistakes in my English.
I am not a native speaker and am still learning the language.
I apologize if I was disrespectful in any way, that was never my intention.