|
46 | 46 | #include "Firestore/core/src/util/string_apple.h"
|
47 | 47 |
|
48 | 48 | using firebase::firestore::api::AddFields;
|
49 |
| -using firebase::firestore::api::AddStage; |
50 | 49 | using firebase::firestore::api::AggregateFunction;
|
51 | 50 | using firebase::firestore::api::AggregateStage;
|
52 | 51 | using firebase::firestore::api::CollectionGroupSource;
|
|
65 | 64 | using firebase::firestore::api::OffsetStage;
|
66 | 65 | using firebase::firestore::api::Ordering;
|
67 | 66 | using firebase::firestore::api::Pipeline;
|
| 67 | +using firebase::firestore::api::RawStage; |
68 | 68 | using firebase::firestore::api::RemoveFieldsStage;
|
69 | 69 | using firebase::firestore::api::ReplaceWith;
|
70 | 70 | using firebase::firestore::api::Sample;
|
@@ -782,12 +782,12 @@ - (id)initWithField:(FIRExprBridge *)field indexField:(NSString *_Nullable)index
|
782 | 782 |
|
783 | 783 | @end
|
784 | 784 |
|
785 |
| -@implementation FIRAddStageBridge { |
| 785 | +@implementation FIRRawStageBridge { |
786 | 786 | NSString *_name;
|
787 | 787 | NSArray<FIRExprBridge *> *_params;
|
788 | 788 | NSDictionary<NSString *, FIRExprBridge *> *_Nullable _options;
|
789 | 789 | Boolean isUserDataRead;
|
790 |
| - std::shared_ptr<AddStage> cpp_generic_stage; |
| 790 | + std::shared_ptr<RawStage> cpp_generic_stage; |
791 | 791 | }
|
792 | 792 |
|
793 | 793 | - (id)initWithName:(NSString *)name
|
@@ -815,7 +815,7 @@ - (id)initWithName:(NSString *)name
|
815 | 815 | cpp_options[MakeString(key)] = [_options[key] cppExprWithReader:reader];
|
816 | 816 | }
|
817 | 817 | }
|
818 |
| - cpp_generic_stage = std::make_shared<AddStage>(MakeString(_name), std::move(cpp_params), |
| 818 | + cpp_generic_stage = std::make_shared<RawStage>(MakeString(_name), std::move(cpp_params), |
819 | 819 | std::move(cpp_options));
|
820 | 820 | }
|
821 | 821 |
|
|
0 commit comments