Skip to content

Commit 9d66b1f

Browse files
author
Brian Chen
authored
Update protos to include IN and ARRAY_CONTAINS_ANY
1 parent 63232fc commit 9d66b1f

File tree

1 file changed

+9
-1
lines changed
  • firebase-firestore/src/proto/google/firestore/v1

1 file changed

+9
-1
lines changed

firebase-firestore/src/proto/google/firestore/v1/query.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2018 Google LLC.
1+
// Copyright 2019 Google LLC.
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -103,6 +103,14 @@ message StructuredQuery {
103103

104104
// Contains. Requires that the field is an array.
105105
ARRAY_CONTAINS = 7;
106+
107+
// In. Requires that `value` is a non-empty ArrayValue with at most 10
108+
// values.
109+
IN = 8;
110+
111+
// Contains any. Requires that the field is an array and
112+
// `value` is a non-empty ArrayValue with at most 10 values.
113+
ARRAY_CONTAINS_ANY = 9;
106114
}
107115

108116
// The field to filter by.

0 commit comments

Comments
 (0)