arrowheadapps/strapi-connector-firestore

Optimisation: use a field mask when fetching a singular entry from a flat collection

brettwillis opened this issue · 0 comments

In cases where only one single document is fetched by ID in a query (find, update, or delete, where an ID is given), then the request can be optimised by using a field mask so Firstore returns only the single entry in the document (less data, less processing).