Multiple commits using db.transactions?

Is it possible to have multiple commits for a single transaction? For instance:

txID = system.db.beginTransaction(timeout=5000)

Insert statement here
system.db.commitTransaction(txID)

Second insert statement here
system.db.commitTransaction(txID)

system.db.closeTransaction(txID)

Thanks

nothing…

You could try it and find out.

1 Like

good point, i was thinking the same thing after the post…

Best topic ever

2 Likes