Firestore
public extension Firestore-
Loads a Firestore bundle into the local cache.
Throws
Errorif the bundle data cannot be parsed.Declaration
Swift
func loadBundle(_ bundleData: Data) async throws -> LoadBundleTaskProgressParameters
bundleDataData from the bundle to be loaded.
Return Value
The final
LoadBundleTaskProgressthat contains the total number of documents loaded. -
Loads a Firestore bundle into the local cache.
Throws
Errorif the bundle stream cannot be parsed.Declaration
Swift
func loadBundle(_ bundleStream: InputStream) async throws -> LoadBundleTaskProgressParameters
bundleStreamAn input stream from which the bundle can be read.
Return Value
The final
LoadBundleTaskProgressthat contains the total number of documents loaded. -
Undocumented
Declaration
Swift
struct Decoder -
Undocumented
Declaration
Swift
struct Encoder