cubrid_get

(PECL CUBRID >= 8.3.0) Get a column using OID mixed cubrid_get ( resource $conn_identifier, string $oid [, mixed $attr ] ) The cubrid_get() function is used to get the attribute of the instance of the given oid. You can get single attribute by using string data type for the attr argument, or many attributes by using array data type for the attr argument. Parameters: conn_identifier

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_get_query_timeout

(PECL CUBRID >= 8.4.1) Get the query timeout value of the request int cubrid_get_query_timeout ( resource $req_identifier ) The cubrid_get_query_timeout() function is used to get the query timeout of the request. Parameters: req_identifier Request identifier. Returns: Success: the query timeout value of the current request. Units of msec. Fail

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

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_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_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_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_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_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