mondora / asteroid

An alternative client for a Meteor backend
MIT License
734 stars 101 forks source link

Perform Two Phase Commits In Asteroid #55

Open daupawar opened 9 years ago

daupawar commented 9 years ago

rollback functionality via asteroid

in mongo we can do like this db.transactions.insert( { _id: 1, source: "A", destination: "B", value: 100, state: "initial", lastModified: new Date() })

how do i perform same in asteroid upon insert,update, or remove?