- PDO_PARAM_NULL
(integer)
Represents the SQL NULL data type.
- PDO_PARAM_INT
(integer)
Represents the SQL INTEGER data type.
- PDO_PARAM_STR
(integer)
Represents the SQL CHAR, VARCHAR, or other string data type.
- PDO_PARAM_LOB
(integer)
Represents the SQL large object data type.
- PDO_PARAM_STMT
(integer)
- PDO_PARAM_INPUT_OUTPUT
(integer)
Specifies that the parameter is an INOUT parameter for a stored
procedure. You must bitwise-OR this value with an explicit
PDO_PARAM_* data type.
- PDO_FETCH_LAZY
(integer)
Specifies that the fetch method shall return each row as an object with
variable names that correspond to the column names returned in the result
set. PDO_FETCH_LAZY creates the object variable names as they are accessed.
- PDO_FETCH_ASSOC
(integer)
Specifies that the fetch method shall return each row as an array indexed
by column name as returned in the corresponding result set.
- PDO_FETCH_NUM
(integer)
Specifies that the fetch method shall return each row as an array indexed
by column number as returned in the corresponding result set, starting at
column 0.
- PDO_FETCH_BOTH
(integer)
Specifies that the fetch method shall return each row as an array indexed
by both column name and number as returned in the corresponding result set,
starting at column 0.
- PDO_FETCH_OBJ
(integer)
Specifies that the fetch method shall return each row as an object with
property names that correspond to the column names returned in the result
set.
- PDO_FETCH_BOUND
(integer)
Specifies that the fetch method shall return TRUE and assign the values of
the columns in the result set to the PHP variables to which they were
bound with the PDOStatement::bindParam() or
PDOStatement::bindColumn() methods.
- PDO_FETCH_COLUMN
(integer)
Specifies that the fetch method shall return only a single requested
column from the next row in the result set.
- PDO_FETCH_CLASS
(integer)
Specifies that the fetch method shall return a new instance of the
requested class, mapping the columns to named properties in the class.
- PDO_FETCH_INTO
(integer)
Specifies that the fetch method shall update an existing instance of the
requested class, mapping the columns to named properties in the class.
- PDO_FETCH_FUNC
(integer)
- PDO_FETCH_GROUP
(integer)
- PDO_FETCH_UNIQUE
(integer)
- PDO_FETCH_CLASSTYPE
(integer)
- PDO_ATTR_AUTOCOMMIT
(integer)
- PDO_ATTR_PREFETCH
(integer)
- PDO_ATTR_TIMEOUT
(integer)
- PDO_ATTR_ERRMODE
(integer)
- PDO_ATTR_SERVER_VERSION
(integer)
- PDO_ATTR_CLIENT_VERSION
(integer)
- PDO_ATTR_SERVER_INFO
(integer)
- PDO_ATTR_CONNECTION_STATUS
(integer)
- PDO_ATTR_CASE
(integer)
Force column names to a specific case specified by the PDO_CASE_*
constants.
- PDO_ATTR_CURSOR_NAME
(integer)
- PDO_ATTR_CURSOR
(integer)
- PDO_ATTR_ORACLE_NULLS
(integer)
- PDO_ATTR_PERSISTENT
(integer)
- PDO_ERRMODE_SILENT
(integer)
- PDO_ERRMODE_WARNING
(integer)
- PDO_ERRMODE_EXCEPTION
(integer)
- PDO_CASE_NATURAL
(integer)
Leave column names as returned by the database driver.
- PDO_CASE_LOWER
(integer)
Force column names to lower case.
- PDO_CASE_UPPER
(integer)
Force column names to upper case.
- PDO_FETCH_ORI_NEXT
(integer)
Fetch the next row in the result set. Valid only for scrollable cursors.
- PDO_FETCH_ORI_PRIOR
(integer)
Fetch the previous row in the result set. Valid only for scrollable
cursors.
- PDO_FETCH_ORI_FIRST
(integer)
Fetch the first row in the result set. Valid only for scrollable cursors.
- PDO_FETCH_ORI_LAST
(integer)
Fetch the last row in the result set. Valid only for scrollable cursors.
- PDO_FETCH_ORI_ABS
(integer)
Fetch the requested row by row number from the result set. Valid only
for scrollable cursors.
- PDO_FETCH_ORI_REL
(integer)
Fetch the requested row by relative position from the current position
of the cursor in the result set. Valid only for scrollable cursors.
- PDO_CURSOR_FWDONLY
(integer)
Create a PDOStatement object with a forward-only cursor. This may improve
the performance of your application but restricts your PDOStatement object
to fetching one row at a time from the result set in a forward direction.
- PDO_CURSOR_SCROLL
(integer)
Create a PDOStatement object with a scrollable cursor. Pass the
PDO_FETCH_ORI_* constants to control the rows fetched from the result set.
- PDO_ERR_CANT_MAP
(integer)
- PDO_ERR_SYNTAX
(integer)
- PDO_ERR_CONSTRAINT
(integer)
- PDO_ERR_NOT_FOUND
(integer)
- PDO_ERR_ALREADY_EXISTS
(integer)
- PDO_ERR_NOT_IMPLEMENTED
(integer)
- PDO_ERR_MISMATCH
(integer)
- PDO_ERR_TRUNCATED
(integer)
- PDO_ERR_DISCONNECTED
(integer)
- PDO_ERR_NO_PERM
(integer)
- PDO_ERR_NONE
(string)
Corresponds to SQLSTATE '00000', meaning that the SQL statement was
successfully issued with no errors or warnings.