strapi-connector-firestore
strapi-connector-firestore copied to clipboard
Lazily create flat collection documents
Currently, a write operation is performed immediately on startup to ensure the existence of the document containing flattened collections. Because a read operation is cheaper than a write operation, it is better to
- Read first to avoid a write operation on every subsequent startup
- Perhaps do this lazily when an entity is first created, rather than on startup