Support explicit transactions
See original GitHub issueIt would be great if we could add support for explicit custom transactions (http://www.npgsql.org/doc/transactions.html) to issue multiple nonqueries within one transaction. As far as I can see all executeNonQuery functions always just use List.head SqlProps.queries.
I am not sure about the API for this feature. It could be let executeNonQueryMany (props: SqlProps) : int list =
What do you think?
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Explicit Transactions – SQLServerCentral
An explicit transaction is a transaction that is started with a BEGIN TRANSACTION statement and ends with either a COMMIT or ROLLBACK ...
Read more >Modes of Transactions in SQL Server
SQL Server can operate 3 different transactions modes and these are: Auto-commit transactions; Implicit transactions; Explicit transactions.
Read more >Handling explicit transactions after a failed operation
Rollback the current explicit transaction. This succeeds and would end the failed state of the explicit transaction. Validate that items ...
Read more >Implementing an Explicit Transaction using ...
The CommittableTransaction class provides an explicit way for applications to use a transaction, as opposed to using the TransactionScope ...
Read more >Support explicit transaction manager · Issue #255
ExplicitTransactionManager (as opposed to ThreadLocalTransactionManager) will allow supporting features that require switching threads ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Awesome. Love it. Will probably use this API for pretty much all non queries. So flexible and composable
Awesome. Will try later