Class

PDO

PHP Extension: PDO Documented at php.net
Methods summary
public
# __construct( mixed $dsn, mixed $username, mixed $passwd, mixed $options )
public
# prepare( mixed $statement, mixed $options )
public
public
# commit( )
public
# rollBack( )
public
public
# setAttribute( mixed $attribute, mixed $value )
public
# exec( mixed $query )
public
# query( )
public
# lastInsertId( mixed $seqname )
public
public
public
# getAttribute( mixed $attribute )
public
# quote( mixed $string, mixed $paramtype )
final public
# __wakeup( )
final public
# __sleep( )
public static
Constants summary
integer PARAM_BOOL 5
#
integer PARAM_NULL 0
#
integer PARAM_INT 1
#
integer PARAM_STR 2
#
integer PARAM_LOB 3
#
integer PARAM_STMT 4
#
integer PARAM_INPUT_OUTPUT -2147483648
#
integer PARAM_EVT_ALLOC 0
#
integer PARAM_EVT_FREE 1
#
integer PARAM_EVT_EXEC_PRE 2
#
integer PARAM_EVT_EXEC_POST 3
#
integer PARAM_EVT_FETCH_PRE 4
#
integer PARAM_EVT_FETCH_POST 5
#
integer PARAM_EVT_NORMALIZE 6
#
integer FETCH_LAZY 1
#
integer FETCH_ASSOC 2
#
integer FETCH_NUM 3
#
integer FETCH_BOTH 4
#
integer FETCH_OBJ 5
#
integer FETCH_BOUND 6
#
integer FETCH_COLUMN 7
#
integer FETCH_CLASS 8
#
integer FETCH_INTO 9
#
integer FETCH_FUNC 10
#
integer FETCH_GROUP 65536
#
integer FETCH_UNIQUE 196608
#
integer FETCH_KEY_PAIR 12
#
integer FETCH_CLASSTYPE 262144
#
integer FETCH_SERIALIZE 524288
#
integer FETCH_PROPS_LATE 1048576
#
integer FETCH_NAMED 11
#
integer ATTR_AUTOCOMMIT 0
#
integer ATTR_PREFETCH 1
#
integer ATTR_TIMEOUT 2
#
integer ATTR_ERRMODE 3
#
integer ATTR_SERVER_VERSION 4
#
integer ATTR_CLIENT_VERSION 5
#
integer ATTR_SERVER_INFO 6
#
integer ATTR_CONNECTION_STATUS 7
#
integer ATTR_CASE 8
#
integer ATTR_CURSOR_NAME 9
#
integer ATTR_CURSOR 10
#
integer ATTR_ORACLE_NULLS 11
#
integer ATTR_PERSISTENT 12
#
integer ATTR_STATEMENT_CLASS 13
#
integer ATTR_FETCH_TABLE_NAMES 14
#
integer ATTR_FETCH_CATALOG_NAMES 15
#
integer ATTR_DRIVER_NAME 16
#
integer ATTR_STRINGIFY_FETCHES 17
#
integer ATTR_MAX_COLUMN_LEN 18
#
integer ATTR_EMULATE_PREPARES 20
#
integer ATTR_DEFAULT_FETCH_MODE 19
#
integer ERRMODE_SILENT 0
#
integer ERRMODE_WARNING 1
#
integer ERRMODE_EXCEPTION 2
#
integer CASE_NATURAL 0
#
integer CASE_LOWER 2
#
integer CASE_UPPER 1
#
integer NULL_NATURAL 0
#
integer NULL_EMPTY_STRING 1
#
integer NULL_TO_STRING 2
#
string ERR_NONE '00000'
#
integer FETCH_ORI_NEXT 0
#
integer FETCH_ORI_PRIOR 1
#
integer FETCH_ORI_FIRST 2
#
integer FETCH_ORI_LAST 3
#
integer FETCH_ORI_ABS 4
#
integer FETCH_ORI_REL 5
#
integer CURSOR_FWDONLY 0
#
integer CURSOR_SCROLL 1
#
integer MYSQL_ATTR_USE_BUFFERED_QUERY 1000
#
integer MYSQL_ATTR_LOCAL_INFILE 1001
#
integer MYSQL_ATTR_INIT_COMMAND 1002
#
integer MYSQL_ATTR_COMPRESS 1003
#
integer MYSQL_ATTR_DIRECT_QUERY 1004
#
integer MYSQL_ATTR_FOUND_ROWS 1005
#
integer MYSQL_ATTR_IGNORE_SPACE 1006
#
integer MYSQL_ATTR_SSL_KEY 1007
#
integer MYSQL_ATTR_SSL_CERT 1008
#
integer MYSQL_ATTR_SSL_CA 1009
#
integer MYSQL_ATTR_SSL_CAPATH 1010
#
integer MYSQL_ATTR_SSL_CIPHER 1011
#
integer MYSQL_ATTR_SERVER_PUBLIC_KEY 1012
#