[cloud_firestore] See if a key and value exist in a map in an array in a field in a collection #6289
Unanswered
prawnydagrate
asked this question in
Q&A
Replies: 1 comment
-
chats/id/messages probably should be a collection Then you can do:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My Cloud Firestore database is structured like this:
How do I look for a message throughout the whole
chats
collection with a certainid
? Because each time a user sends a message, I need to generate anid
for the message but also make sure that no other message has the exact sameid
.Beta Was this translation helpful? Give feedback.
All reactions