Trying to get Realm's path; previously was 'configuration.syncConfiguration?.realmURL'

looking to identify the path of a Realm. Prior to v10 in Swift SDK, I was able to achieve that through:

configuration.syncConfiguration?.realmURL

…Thank you in advance.

Currently new MongoDB Realm uses partitions in place of the old URL and path. configuration.syncConfiguration?.partitionValue is the new identifier for the location.

https://docs.mongodb.com/realm-sdks/swift/10.7.0/Structs/SyncConfiguration.html

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.