class MssqlPropelPDO extends PropelPDO
dblib doesn't support transactions so we need to add a workaround for transactions, last insert ID, and quoting
Constants
PROPEL_ATTR_CACHE_PREPARES |
Attribute to use to set whether to cache prepared statements. |
Properties
boolean | $useDebug | Whether or not the debug is enabled |
Methods
integer |
beginTransaction()
Begin a transaction. |
|
integer |
commit()
Commit a transaction. |
|
integer |
rollBack()
Roll-back a transaction. |
|
integer |
forceRollBack()
Rollback the whole transaction, even if this is a nested rollback and reset the nested transaction count to 0. |
|
integer | lastInsertId(string $seqname = null) | |
string | quoteIdentifier(string $text) | |
boolean | useQuoteIdentifier() |
Details
at line 31
public integer
beginTransaction()
Begin a transaction.
It is necessary to override the abstract PDO transaction functions here, as
the PDO driver for MSSQL does not support transactions.
at line 55
public integer
commit()
Commit a transaction.
It is necessary to override the abstract PDO transaction functions here, as
the PDO driver for MSSQL does not support transactions.
at line 85
public integer
rollBack()
Roll-back a transaction.
It is necessary to override the abstract PDO transaction functions here, as
the PDO driver for MSSQL does not support transactions.
at line 113
public integer
forceRollBack()
Rollback the whole transaction, even if this is a nested rollback and reset the nested transaction count to 0.
It is necessary to override the abstract PDO transaction functions here, as
the PDO driver for MSSQL does not support transactions.