Firestore transaction with multiple get
问题 I'm trying to run a transaction with a variable number of read operations. I put the read () operations before than update (). Reading the Firestore doc on https://cloud.google.com/firestore/docs/manage-data/transactions "A transaction consists of any number of get() operations followed by any number of write operations such as set(), update(), or delete()" And When using transactions, note that: Read operations must come before write operations. A function calling a transaction (transaction