Open ncalexan opened 6 years ago
You're doing a bunch of stuff with SQL as separate statements, all wrapped in individual implicit transactions.
I expected to see as many of these individual operations wrapped together in a single transaction so that the whole thing is atomic. Is there a reason that's not feasible?
The layer that makes the whole thing atomic is higher up the chain -- it's the Conn
that manages all of this. The Conn
also needs to be involved to handle transaction watchers and cache invalidation. That's coming shortly.
My WIP towards excision.