Connection.beginTransaction

Starts a transaction on the data source, identified by the xaction parameter. Before starting a transaction, you can check whether the underlying provider does support transactions or not by using the gda_connection_supports function.

class Connection
int
beginTransaction

Parameters

xaction Transaction

a GdaTransaction object.

Return Value

Type: int

TRUE if the transaction was started successfully, FALSE otherwise.

Meta