cubrid_insert_id

(PECL CUBRID >= 8.3.0) Return the ID generated for the last updated AUTO_INCREMENT column string cubrid_insert_id ([ resource $conn_identifier ] ) The cubrid_insert_id() function retrieves the ID generated for the AUTO_INCREMENT column which is updated by the previous INSERT query. It returns 0 if the previous query does not generate new rows, or FALSE on failure. Note: CUBRID supports AUTO_INCREMENT for more than one

cubrid_lob_get

(PECL CUBRID >= 8.3.1) Get BLOB/CLOB data array cubrid_lob_get ( resource $conn_identifier, string $sql ) cubrid_lob_get() is used to get BLOB/CLOB meta info from CUBRID database, CUBRID gets BLOB/CLOB by executing the SQL statement, and returns all LOBs as a resource array. Be sure that the SQL retrieves only one column and its data type is BLOB or CLOB. Remember to use cubrid_lob_close() to release the LOBs if you don

cubrid_get_server_info

(PECL CUBRID >= 8.3.0) Return the CUBRID server version string cubrid_get_server_info ( resource $conn_identifier ) This function returns a string that represents the CUBRID server version. Parameters: conn_identifier The CUBRID connection. Returns: A string that represents the CUBRID server version; on success. FALSE on failure.

cubrid_fetch

(PECL CUBRID >= 8.3.0) Fetch the next row from a result set mixed cubrid_fetch ( resource $result [, int $type = CUBRID_BOTH ] ) The cubrid_fetch() function is used to get a single row from the query result. The cursor automatically moves to the next row after getting the result. Parameters: result result comes from a call to cubrid_execute() type

cubrid_get_client_info

(PECL CUBRID >= 8.3.0) Return the client library version string cubrid_get_client_info ( void ) This function returns a string that represents the client library version. Returns: A string that represents the client library version; on success. FALSE on failure. Examples: cubrid_get_client_info() example <?php pri

cubrid_get_charset

(PECL CUBRID >= 8.3.0) Return the current CUBRID connection charset string cubrid_get_charset ( resource $conn_identifier ) This function returns the current CUBRID connection charset and is similar to the CUBRID MySQL compatible function cubrid_client_encoding(). Parameters: conn_identifier The CUBRID connection. Returns: A string that represen

cubrid_get_class_name

(PECL CUBRID >= 8.3.0) Get the class name using OID string cubrid_get_class_name ( resource $conn_identifier, string $oid ) The cubrid_get_class_name() function is used to get the class name from oid. It doesn't work when selecting data from the system tables, for example db_class. Parameters: conn_identifier Connection identifier. oid

cubrid_free_result

(PECL CUBRID >= 8.3.0) Free the memory occupied by the result data bool cubrid_free_result ( resource $req_identifier ) This function frees the memory occupied by the result data. It returns TRUE on success or FALSE on failure. Note that it can only frees the client fetch buffer now, and if you want free all memory, use function cubrid_close_request(). Parameters: req_identifier

cubrid_get_autocommit

(PECL CUBRID >= 8.4.0) Get auto-commit mode of the connection bool cubrid_get_autocommit ( resource $conn_identifier ) The cubrid_get_autocommit() function is used to get the status of CUBRID database connection auto-commit mode. For CUBRID 8.4.0, auto-commit mode is disabled by default for transaction management. For CUBRID 8.4.1, auto-commit mode is enabled by default for transaction management. Par

cubrid_get_db_parameter

(PECL CUBRID >= 8.3.0) Returns the CUBRID database parameters array cubrid_get_db_parameter ( resource $conn_identifier ) This function returns the CUBRID database parameters or it returns FALSE on failure. It returns an associative array with the values for the following parameters: PARAM_ISOLATION_LEVEL PARAM_LOCK_TIMEOUT PARAM_MAX_STRING_LENGTH PARAM_AUTO_COMMIT Database parameters Parameter Description PARAM_ISOLAT