Propel 2 API
Class

Propel\Runtime\Adapter\MSSQL\MssqlDebugPDO

class MssqlDebugPDO extends MssqlPropelPDO

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

$useDebug

Methods

integer beginTransaction()

Begin a transaction.

from MssqlPropelPDO
integer commit()

Commit a transaction.

from MssqlPropelPDO
integer rollBack()

Roll-back a transaction.

from MssqlPropelPDO
integer forceRollBack()

Rollback the whole transaction, even if this is a nested rollback and reset the nested transaction count to 0.

from MssqlPropelPDO
integer lastInsertId(string $seqname = null)

from MssqlPropelPDO
string quoteIdentifier(string $text)

from MssqlPropelPDO
boolean useQuoteIdentifier()

from MssqlPropelPDO

Details

in MssqlPropelPDO 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.

Return Value

integer

in MssqlPropelPDO 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.

Return Value

integer

in MssqlPropelPDO 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.

Return Value

integer

in MssqlPropelPDO 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.

Return Value

integer

in MssqlPropelPDO at line 138
public integer lastInsertId(string $seqname = null)

Parameters

string $seqname

Return Value

integer

in MssqlPropelPDO at line 149
public string quoteIdentifier(string $text)

Parameters

string $text

Return Value

string

in MssqlPropelPDO at line 157
public boolean useQuoteIdentifier()

Return Value

boolean