Effect CommunityEC
Effect Community8mo ago
7 replies
rpiotrow

How to Implement Transactions in `sql-drizzle`

Any hint how to make transactions in sql-drizzle in a proper way? As an example, how to make a transaction in this sample code: https://github.com/Effect-TS/effect/blob/main/packages/sql-drizzle/examples/sqlite.ts - so how to put delete and insert in transaction? Of course it does not make much sense here, but just for the sake of the mechanism, a way how to make a transation with sql-drizzle
Was this page helpful?