You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code in question is documented here, you need to scroll up a little bit. Or search for the text "array-contains-any always filters by the array data type".
The documentation explicitly states "From the example data, only the DC document qualifies with its regions field of ["east_coast"]". However, it does not return the DC document, or any document for that matter.
@morganchen12, can you help me get this to the right person to modify these code snippets and documentation across all SDKs? We need to correct snippets and documentation for the in operator across all SDK languages.
Operating System
macOS
Browser Version
Safari 16.5.2
Firebase SDK Version
10.5.0
Firebase SDK Product:
Firestore
Describe your project's tooling
index.html with source tag. Just javascript.
Describe the problem
The following query does not work, no document is returned
The code in question is documented here, you need to scroll up a little bit. Or search for the text "array-contains-any always filters by the array data type".
The documentation explicitly states "From the example data, only the DC document qualifies with its regions field of ["east_coast"]". However, it does not return the DC document, or any document for that matter.
You have to set up the data first.
Steps and code to reproduce issue
Already explained.
The text was updated successfully, but these errors were encountered: