-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the doc reference format #504
Comments
Hi @n-sviridenko , while its not ideal currently the easiest way to solve firestore query limitations is by adding a derivative column that can transform the original column into something that is easier to query, you can find an example in the docs here. |
Hi @n-sviridenko, our current plan is to add a setting for Connect Table to store a single value in the next release in October, so you can filter by The default would be an array: {
"name": "John Doe",
"job": [ { "docPath": "jobs/123", "snapshot": { "name": "First job" } } ]
} and with single values:
or if the value is cleared:
This matches the values returned by Single Select. |
* develop: (27 commits) Allow users to add custom options in Single and Multi Select fields add extensionsDocSync WIKI_LINK add new step-based extensions UI Side Drawer: scroll to selected cell and focus if available update missing rowy run url error copy fix last frozen row not showing selection outline error copy show error when rowyrun is called without a url useTableData: fix connect table becoming unclearable Color: remove unused code in side drawer field fix Side Drawer not loading the correct row’s values for some fields after clicking the navigation buttons Connect Table: support single selection without arrays (#504) PopoverCell: fix double causing cell to appear blank table onSnapshot: fix rows with missingRequiredFields already in the database being displayed Table settings: Show collection name in Copy columns from existing table dropdown add initial columns option to create table fix status operator Long Text field: support in-cell editing CellValidation: fix console error fix add row not adding to the top after deleting ...
Released in v2.1 |
Currently, the doc reference is an array of the document snapshots which are impossible to query by if needed to filter the entities which are having those.
I.e. I have a collection with candidates:
They look user-friendly inside firetable, but I'm unable to query candidates by a specific job, as I have to filter them by the entire object (
where('job', 'array-contains', {"docPath":"jobs/243","snapshot":{"name":"Second job"}})
) which might change (e.g. I rename the job) while its snapshot will stay same.The goal is to come up with something I'll be able to filter by.
P.S. How do the other firetable users solve this problem?
The text was updated successfully, but these errors were encountered: