Skip to content
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

how do I select a document in Firestore #159

Closed
stuurman opened this issue Mar 11, 2021 · 3 comments
Closed

how do I select a document in Firestore #159

stuurman opened this issue Mar 11, 2021 · 3 comments

Comments

@stuurman
Copy link

stuurman commented Mar 11, 2021

I cannot get selecting one specific document to work
collection("restaurants").doc("123").get()

Also was wondering if selecting a specific document from a subcollection is possible?

@stuurman stuurman changed the title how do I select a document how do I select a document in Firestore Mar 11, 2021
@sasha-alias
Copy link
Owner

Is it what you need #145 (comment)

@stuurman
Copy link
Author

yes, thanks. Is it also possible to select a subcollection? Like basically the equivalent of:
collection("restaurants").doc("123").collections("menus").doc("1").get()

Or are subcollections not supported (yet)?

@sasha-alias
Copy link
Owner

#158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants