質問編集履歴
1
説明追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,5 +3,27 @@
|
|
3
3
|
firestoreを初めて使っており教示いただきたい。
|
4
4
|
documentの中にmapを検索対象にしたときの検索方法を知りたい。
|
5
5
|
|
6
|
+
一応、こちらのページは読んでおります。
|
7
|
+
[https://firebase.google.com/docs/firestore/query-data/order-limit-data?hl=ja](https://firebase.google.com/docs/firestore/query-data/order-limit-data?hl=ja)
|
8
|
+
|
9
|
+
|
10
|
+
# 知りたいこと
|
6
11
|
0. mapに指定要素が含まれないものを検索したい。
|
7
|
-
1. mapが持つ要素数を知りたい。
|
12
|
+
1. mapが持つ要素数を知りたい。
|
13
|
+
|
14
|
+
以下を例としたときに(書式が正しいかは別として)
|
15
|
+
上記、1,2を満たす検索クエリを探しております。
|
16
|
+
```
|
17
|
+
collection(A).document(B)とあり、
|
18
|
+
|
19
|
+
doc.id = xxxxxxx0,
|
20
|
+
status {
|
21
|
+
key0: 1234, key1: 567, key2: 890
|
22
|
+
},
|
23
|
+
|
24
|
+
doc.id = xxxxxxx1,
|
25
|
+
status {
|
26
|
+
key0: 1234, key1: 567,
|
27
|
+
}
|
28
|
+
|
29
|
+
```
|