Sign in Join
FPDoc Onlineexperiment

IProviderSupport.PSEndTransaction procedure

Member of IProviderSupportIn unit DB

End an active transaction.

Declaration

pascal
procedure PSEndTransaction(ACommit: Boolean)

Arguments

ACommit

Should the transaction be committed or rolled back?

Description

PSEndTransaction ends an active transaction if an transaction is active. ( PSInTransaction returns True). If ACommit is True then the transaction is committed, else it is rolled back.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.