Class CMssqlPdoAdapter
This is an extension of default PDO class for mssql driver only It provides
some missing functionalities of pdo driver
-
PDO
-
CMssqlPdoAdapter
Methods summary
public
integer
|
#
lastInsertId( string|null $sequence = NULL )
Get the last inserted id value MSSQL doesn't support sequence, so, argument
is ignored
Get the last inserted id value MSSQL doesn't support sequence, so, argument
is ignored
Parameters
- $sequence
string|null sequence name. Defaults to null
Returns
integer last inserted id
Overrides
|
public
boolean
|
#
beginTransaction( )
Begin a transaction
Is is necessary to override pdo's method, as mssql pdo drivers does not
support transaction
Returns
boolean
Overrides
|
public
boolean
|
#
commit( )
Commit a transaction
Is is necessary to override pdo's method, as mssql pdo drivers does not
support transaction
Returns
boolean
Overrides
|
public
boolean
|
#
rollBack( )
Rollback a transaction
Is is necessary to override pdo's method, ac mssql pdo drivers does not
support transaction
Returns
boolean
Overrides
|
Methods inherited from PDO
__construct(),
__sleep(),
__wakeup(),
errorCode(),
errorInfo(),
exec(),
getAttribute(),
getAvailableDrivers(),
inTransaction(),
prepare(),
query(),
quote(),
setAttribute()
|
Constants inherited from PDO
ATTR_AUTOCOMMIT,
ATTR_CASE,
ATTR_CLIENT_VERSION,
ATTR_CONNECTION_STATUS,
ATTR_CURSOR,
ATTR_CURSOR_NAME,
ATTR_DEFAULT_FETCH_MODE,
ATTR_DRIVER_NAME,
ATTR_EMULATE_PREPARES,
ATTR_ERRMODE,
ATTR_FETCH_CATALOG_NAMES,
ATTR_FETCH_TABLE_NAMES,
ATTR_MAX_COLUMN_LEN,
ATTR_ORACLE_NULLS,
ATTR_PERSISTENT,
ATTR_PREFETCH,
ATTR_SERVER_INFO,
ATTR_SERVER_VERSION,
ATTR_STATEMENT_CLASS,
ATTR_STRINGIFY_FETCHES,
ATTR_TIMEOUT,
CASE_LOWER,
CASE_NATURAL,
CASE_UPPER,
CURSOR_FWDONLY,
CURSOR_SCROLL,
ERRMODE_EXCEPTION,
ERRMODE_SILENT,
ERRMODE_WARNING,
ERR_NONE,
FETCH_ASSOC,
FETCH_BOTH,
FETCH_BOUND,
FETCH_CLASS,
FETCH_CLASSTYPE,
FETCH_COLUMN,
FETCH_FUNC,
FETCH_GROUP,
FETCH_INTO,
FETCH_KEY_PAIR,
FETCH_LAZY,
FETCH_NAMED,
FETCH_NUM,
FETCH_OBJ,
FETCH_ORI_ABS,
FETCH_ORI_FIRST,
FETCH_ORI_LAST,
FETCH_ORI_NEXT,
FETCH_ORI_PRIOR,
FETCH_ORI_REL,
FETCH_PROPS_LATE,
FETCH_SERIALIZE,
FETCH_UNIQUE,
MYSQL_ATTR_COMPRESS,
MYSQL_ATTR_DIRECT_QUERY,
MYSQL_ATTR_FOUND_ROWS,
MYSQL_ATTR_IGNORE_SPACE,
MYSQL_ATTR_INIT_COMMAND,
MYSQL_ATTR_LOCAL_INFILE,
MYSQL_ATTR_MAX_BUFFER_SIZE,
MYSQL_ATTR_MULTI_STATEMENTS,
MYSQL_ATTR_READ_DEFAULT_FILE,
MYSQL_ATTR_READ_DEFAULT_GROUP,
MYSQL_ATTR_SSL_CA,
MYSQL_ATTR_SSL_CAPATH,
MYSQL_ATTR_SSL_CERT,
MYSQL_ATTR_SSL_CIPHER,
MYSQL_ATTR_SSL_KEY,
MYSQL_ATTR_USE_BUFFERED_QUERY,
NULL_EMPTY_STRING,
NULL_NATURAL,
NULL_TO_STRING,
PARAM_BOOL,
PARAM_EVT_ALLOC,
PARAM_EVT_EXEC_POST,
PARAM_EVT_EXEC_PRE,
PARAM_EVT_FETCH_POST,
PARAM_EVT_FETCH_PRE,
PARAM_EVT_FREE,
PARAM_EVT_NORMALIZE,
PARAM_INPUT_OUTPUT,
PARAM_INT,
PARAM_LOB,
PARAM_NULL,
PARAM_STMT,
PARAM_STR
|