python-mock-firestore
python-mock-firestore copied to clipboard
Implement rollback in Transaction
After #13 is merged, at some point we should make Transaction.rollback actually roll the transaction back.
This could be done by making a deep copy of the MockFirestore data before calling the write ops in Transaction._commit, and restoring the DB to that copy when rolling back.