File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ func makeQuery(collection collectionRef: CollectionReference) -> Query {
111
111
. whereField ( FieldPath ( [ " tags " ] ) , notIn: [ " active " , " squat " ] )
112
112
. whereField ( FieldPath . documentID ( ) , isEqualTo: " fred " )
113
113
. whereField ( FieldPath . documentID ( ) , isNotEqualTo: " fred " )
114
+ . whereField ( FieldPath ( [ " name " ] ) , isEqualTo: " fred " )
114
115
. order ( by: FieldPath ( [ " age " ] ) )
115
116
. order ( by: " name " , descending: true )
116
117
. limit ( to: 10 )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ namespace firestore {
26
26
namespace core {
27
27
28
28
/* *
29
- * A Filter that matches on key fields not present within an array..
29
+ * A Filter that matches on key fields not present within an array.
30
30
*/
31
31
class KeyFieldNotInFilter : public FieldFilter {
32
32
public:
Original file line number Diff line number Diff line change @@ -1114,15 +1114,15 @@ google_firestore_v1_StructuredQuery_Filter Serializer::EncodeSingularFilter(
1114
1114
auto op =
1115
1115
filter.op () == Filter::Operator::Equal
1116
1116
? google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NAN
1117
- : google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NAN;
1117
+ : google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NAN; // NOLINT
1118
1118
result.unary_filter .op = op;
1119
1119
return result;
1120
1120
1121
1121
} else if (filter.value ().is_null ()) {
1122
1122
auto op =
1123
1123
filter.op () == Filter::Operator::Equal
1124
1124
? google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NULL
1125
- : google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL;
1125
+ : google_firestore_v1_StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL; // NOLINT
1126
1126
result.unary_filter .op = op;
1127
1127
return result;
1128
1128
}
You can’t perform that action at this time.
0 commit comments