ibis icon indicating copy to clipboard operation
ibis copied to clipboard

feat: perform DDL not in a transaction where possible

Open NickCrews opened this issue 6 months ago • 2 comments

This allows the user to be in control of the transaction.

Now I can do

con.raw_sql("begin transaction")
con.insert("a", a)
con.insert("b", b)
con.raw_sql("commit")

and the two operations will be atomic. This isn't complete. Ideally we were consistent with this everywhere, but this is a good start for the operations I am doing.

NickCrews avatar May 13 '25 02:05 NickCrews

Before I go through the effort of fixing the tests, I'd love a quick confirmation that this is going in the right direction.

NickCrews avatar May 13 '25 22:05 NickCrews

Can't you use the Backend.begin() method for this? Or does that not work?

cpcloud avatar May 14 '25 15:05 cpcloud