omnisci3nce / cobalt

share videos
2 stars 0 forks source link

Database should provide a thin wrapper around transactions #6

Open omnisci3nce opened 1 year ago

omnisci3nce commented 1 year ago

inTransaction(fn)

executes function within a transaction. the function should be provided a client (type: PgClient) in order to execute queries from within that transaction.