Firebase-js-sdk: FR: Firestore getAll() to retrieve multiple documents at once.

Created on 29 Aug 2018  路  6Comments  路  Source: firebase/firebase-js-sdk

[REQUIRED] Describe your environment

  • Operating System version: macOS
  • Browser version: chrome Version 67.0.3396.99
  • Firebase SDK version: 5.4.1
  • Firebase Product: firestore

[REQUIRED] Describe the problem

A feature request for Firestore transaction.getAll
according to documentation transaction.getAll supported by Node.JS
https://cloud.google.com/nodejs/docs/reference/firestore/0.15.x/Transaction#getAll

I though it's available on web sdk but got error.. ( transaction.getAll is not a function )

Already use Promise.all(transaction.get(ref1),transaction.get(ref2),transaction.get(ref3))
and its working fine as alternative solution.

So it not that important FR, but i didn't understand why exist on Node but not on web sdk.

thanks

firestore feature request

Most helpful comment

Thanks for the feedback! This is a common request (at least lately!) and is something we plan to address. @wilhuff just wrote up the rationale for why it's not provided yet over on our iOS repo: https://github.com/firebase/firebase-ios-sdk/issues/1877

All 6 comments

Thanks for the feedback! This is a common request (at least lately!) and is something we plan to address. @wilhuff just wrote up the rationale for why it's not provided yet over on our iOS repo: https://github.com/firebase/firebase-ios-sdk/issues/1877

BatchGet would be a great feature!

Hi, is this feature or BatchGet available at firebase-js-sdk?

The best way to check for new features is to check our release notes, where we describe everything we've added/fixed.

As described in the other repo, we'd love to build this feature, but it requires an addition to the protocol to make it work, and we have other, higher priority work we're focusing on.

@wilhuff please bump this higher on your priority list :top:

This would also be great if made available for iOS.

Was this page helpful?
0 / 5 - 0 ratings