Adds storeId method on StoredCollection

sync2
Laurent 8 months ago
parent ea0655de37
commit 4765bc4e89
  1. 4
      LeStorage/StoredCollection.swift

@ -100,6 +100,10 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti
return T.resourceName()
}
public var storeId: String? {
self._store.identifier?.value
}
// MARK: - Loading
/// Migrates if necessary and asynchronously decodes the json file

Loading…
Cancel
Save