cubrid_rollback

(PECL CUBRID >= 8.3.0) Roll back a transaction bool cubrid_rollback ( resource $conn_identifier ) The cubrid_rollback() function executes rollback on the transaction pointed by conn_identifier, currently in progress. Connection to server is closed after calling cubrid_rollback(). Connection handle, however, is still valid. Parameters: conn_identifier Connection identi

cubrid_prepare

(PECL CUBRID >= 8.3.0) Prepare a SQL statement for execution resource cubrid_prepare ( resource $conn_identifier, string $prepare_stmt [, int $option = 0 ] ) The cubrid_prepare() function is a sort of API which represents SQL statements compiled previously to a given connection handle. This pre-compiled SQL statement will be included in the cubrid_prepare(). Accordingly, you can use this statement effectively to execut

cubrid_num_rows

(PECL CUBRID >= 8.3.0) Get the number of rows in the result set int cubrid_num_rows ( resource $result ) The cubrid_num_rows() function is used to get the number of rows from the query result. You can use it only when the query executed is a select statement. When you want to know such value for INSERT, UPDATE, or DELETE query, you have to use the cubrid_affected_rows() function. Note: The cubrid_num_rows() function can

cubrid_pconnect

(PECL CUBRID >= 8.3.1) Open a persistent connection to a CUBRID server resource cubrid_pconnect ( string $host, int $port, string $dbname [, string $userid [, string $passwd ]] ) Establishes a persistent connection to a CUBRID server. cubrid_pconnect() acts very much like cubrid_connect() with two major differences. First, when connecting, the function would first try to find a (persistent) link that's already open wi

cubrid_num_cols

(PECL CUBRID >= 8.3.0) Return the number of columns in the result set int cubrid_num_cols ( resource $result ) The cubrid_num_cols() function is used to get the number of columns from the query result. It can only be used when the query executed is a select statement. Parameters: result Result. Returns: Number of columns, when process is success

cubrid_pconnect_with_url

(PECL CUBRID >= 8.3.1) Open a persistent connection to CUBRID server resource cubrid_pconnect_with_url ( string $conn_url [, string $userid [, string $passwd ]] ) Establishes a persistent connection to a CUBRID server. cubrid_pconnect_with_url() acts very much like cubrid_connect_with_url() with two major differences. First, when connecting, the function would first try to find a (persistent) link that's already open

cubrid_lob2_write

(PECL CUBRID >= 8.4.1) Write to a lob object. bool cubrid_lob2_write ( resource $lob_identifier, string $buf ) The cubrid_lob2_write() function reads as much as data from buf and stores it to the LOB object. Note that this function can only append characters now. Parameters: lob_identifier Lob identifier as a result of cubrid_lob2_new() or get from the result set.

cubrid_lock_write

(PECL CUBRID >= 8.3.0) Set a write lock on the given OID bool cubrid_lock_write ( resource $conn_identifier, string $oid ) The cubrid_lock_write() function is used to put write lock on the instance pointed by the given oid. Parameters: conn_identifier Connection identifier. oid OID of the instance that you want to put write lock on.

cubrid_next_result

(PECL CUBRID >= 8.4.0) Get result of next query when executing multiple SQL statements bool cubrid_next_result ( resource $result ) The cubrid_next_result() function is used to get results of next query if multiple SQL statements are executed and CUBRID_EXEC_QUERY_ALL flag is set upon cubrid_execute(). Parameters: result result comes from a call to cubrid_execute()

cubrid_lock_read

(PECL CUBRID >= 8.3.0) Set a read lock on the given OID bool cubrid_lock_read ( resource $conn_identifier, string $oid ) The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid. Parameters: conn_identifier Connection identifier. oid OID of the instance that you want to put read lock on.