stablekernel / postgresql-dart

Dart PostgreSQL driver: supports extended query format, binary protocol and statement reuse.
https://www.dartdocs.org/documentation/postgres/latest
BSD 3-Clause "New" or "Revised" License
128 stars 32 forks source link

Nested transactions #88

Open itsjoeconway opened 5 years ago

itsjoeconway commented 5 years ago

It'd be great to have nested transactions. I'm not sure rollbacks and exceptions should behave - do they propagate up to the outer transaction by default? Can you catch them?

isoos commented 5 years ago

Isn't it just savepoints? I think that kind of differs from the traditional nested approach of nested propagation.

virtz commented 5 years ago

@isoos sorry I'm thinking of using this in a production environment and I.d like to know if it provides support for stored procedures.