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
{{ message }}
Repository navigation
Add support for FieldPath for where-clause querying to Firestore Plugin. #1311
Querying Firestore doesn't yield results when the Field name consists special characters.
For example [email protected] which consists '.'
Can you include a work around like including ` around the Field name so that it treats special characters as Normal one.
This issue was previously closed without any comments/updates. Re-opening as the issue still exists.
Hey all, as part of our on-going work for #2582, this has been implemented in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you
Activity
jyardin commentedon Jan 4, 2020
Is there any way to circumvent this problem?
zephyo commentedon Feb 22, 2020
encountering this, does this have a fix yet?
Ehesp commentedon Apr 22, 2020
You can use the
FieldPathclass to provide a path/key with special characters: https://github.com/FirebaseExtended/flutterfire/blob/29eb495bddafe3965e3b7f5f097d5122bf5e2d1a/packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/field_path.dart#L7Will close, but this should be documented.
Ehesp commentedon Apr 22, 2020
Re-opening to track with testing
Salakar commentedon Jul 7, 2020
Hey all, as part of our on-going work for #2582, this has been implemented in our Firebase Firestore rework (#2913) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you