Skip to content

Add snippet for Collection Group Query #42

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

Merged
merged 3 commits into from
Apr 30, 2019
Merged

Add snippet for Collection Group Query #42

merged 3 commits into from
Apr 30, 2019

Conversation

BenWhitehead
Copy link
Collaborator

  • Bump @google-cloud/firestore to ^1.3.0 which includes the new
    functionality

* Bump `@google-cloud/firestore` to `^1.3.0` which includes the new
  functionality
@@ -1121,4 +1180,8 @@ describe('Firestore Smoketests', () => {
it('should delete the whole collection', () => {
return deleteCollection(db, 'cities', 50);
});

it('should find all museums when querying a collection group', () => {
return collectionGroupQuery();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to pass in the db here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, will update.

@samtstern
Copy link
Contributor

@BenWhitehead so version 1.3.0 is public and has CG queries in it already? Do they work against prod?

@BenWhitehead
Copy link
Collaborator Author

Version 1.3.0 was released last friday. I'm told prod is ready for the clients, though haven't personally verified.

@samtstern samtstern merged commit 75aca05 into firebase:master Apr 30, 2019
@samtstern
Copy link
Contributor

Closed in favor of #43

@BenWhitehead BenWhitehead deleted the benwhitehead/collection-group-query branch April 30, 2019 17:46
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

Successfully merging this pull request may close these issues.

2 participants