File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ class QueryInternal : public Wrapper {
71
71
*/
72
72
virtual AggregateQuery Count () const ;
73
73
74
+ /* *
75
+ * @brief Creates and returns a new Query with the additional filter.
76
+ *
77
+ * @param filter The new filter to apply to the existing query.
78
+ * @return The created Query.
79
+ */
74
80
Query Where (const Filter& filter) const ;
75
81
76
82
/* *
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Wrapper::Wrapper(Wrapper* rhs) : Wrapper() {
60
60
61
61
Wrapper::~Wrapper () = default ;
62
62
63
- jni::Env Wrapper::GetEnv () { return FirestoreInternal:: GetEnv (); }
63
+ jni::Env Wrapper::GetEnv () const { return firestore_-> GetEnv (); }
64
64
65
65
Local<Object> Wrapper::ToJava () const {
66
66
Env env = GetEnv ();
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class Wrapper {
55
55
// Similar to a copy constructor, but can handle the case where `rhs` is null.
56
56
explicit Wrapper (Wrapper* rhs);
57
57
58
- static jni::Env GetEnv ();
58
+ jni::Env GetEnv () const ;
59
59
60
60
FirestoreInternal* firestore_ = nullptr ; // not owning
61
61
jni::ArenaRef obj_;
You can’t perform that action at this time.
0 commit comments