diff options
Diffstat (limited to 'Firestore/Source/Core/FSTTransaction.h')
-rw-r--r-- | Firestore/Source/Core/FSTTransaction.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Firestore/Source/Core/FSTTransaction.h b/Firestore/Source/Core/FSTTransaction.h index d4f3d8d..4e5441b 100644 --- a/Firestore/Source/Core/FSTTransaction.h +++ b/Firestore/Source/Core/FSTTransaction.h @@ -16,8 +16,12 @@ #import <Foundation/Foundation.h> +#include <vector> + #import "Firestore/Source/Core/FSTTypes.h" +#include "Firestore/core/src/firebase/firestore/model/document_key.h" + @class FIRSetOptions; @class FSTDatastore; @class FSTDocumentKey; @@ -42,7 +46,7 @@ NS_ASSUME_NONNULL_BEGIN * Takes a set of keys and asynchronously attempts to fetch all the documents from the backend, * ignoring any local changes. */ -- (void)lookupDocumentsForKeys:(NSArray<FSTDocumentKey *> *)keys +- (void)lookupDocumentsForKeys:(const std::vector<firebase::firestore::model::DocumentKey> &)keys completion:(FSTVoidMaybeDocumentArrayErrorBlock)completion; /** |