firestore-php
firestore-php copied to clipboard
How to Query Documents by ID
$companies $this->firestoreClient->listDocuments('companies');
So far this is im stuck with, but i dont want to select all the documents under companies collection, and i dont see any way in the documentation to only select specific documents from a collection of documents.
i'm stuck in this too :(
You can just do $firestoreClient->getDocument('companies/document_id')