beedb icon indicating copy to clipboard operation
beedb copied to clipboard

Support Transactions

Open robfig opened this issue 12 years ago • 5 comments

I didn't see a way to get beedb to use a transaction. I'm not sure what the right interface would be, but is it something you are thinking of?

robfig avatar Dec 04 '12 03:12 robfig

beedb now don't support transaction. If you want to use transaction please see http://golang.org/pkg/database/sql/#Tx

astaxie avatar Dec 04 '12 12:12 astaxie

+1 for transaction support

eaigner avatar Dec 13 '12 10:12 eaigner

Since no ORM matched my needs in terms of API, transaction support and testability I wrote one: https://github.com/eaigner/hood

eaigner avatar Dec 16 '12 09:12 eaigner

So cool, Recently I will rewrite beedb.

In the new version i will support transaction, i will use interface

astaxie avatar Dec 16 '12 09:12 astaxie

The only thing that put me off hood is custom data types (I don't mind time.Time), I just like to keep things simple!

I actually don't mind using PgAdmin to set up tables!

CJ-Jackson avatar Dec 31 '12 11:12 CJ-Jackson