listDocuments exist in @google-cloud/firestore but not firebase npm module: what's the difference?
问题 I've been using the firebase npm package to primarily interact with my Cloud Firestore + Authentication. I want to use the listDocuments method on a collection, but this doesn't seem to exist in when I have: import * as firebase from "firebase"; import "firebase/firestore"; const db = firebase.initializeApp(...).firestore(); db.collection("users").listDocuments() And it says that listDocuments() is not a function. I've tried also installing @google-cloud/firestore npm package but that seems