http://coldfusion.com logo
#cfml-general
Title
# cfml-general
d

Daniel Mejia

02/19/2022, 12:05 AM
Are there any gotchas with using a
transaction { query1... query2... }
without a
transaction action='commit';
? I just learned that the commit action is not needed, but curious as to what impact there is without it.
a

Adam Cameron

02/19/2022, 12:24 AM
it commits at the end of the transaction block anyhow
You only need the commit if you need - for some reason - to commit midway through the block.
d

Daniel Mejia

02/19/2022, 12:43 AM
thats what I thought.
2 Views