cubrid_put

(PECL CUBRID >= 8.3.0) Update a column using OID int cubrid_put ( resource $conn_identifier, string $oid [, string $attr ], mixed $value ) The cubrid_put() function is used to update an attribute of the instance of the given oid. You can update single attribute by using string data type to set attr. In such case, you can use integer, floating point or string type data for the value argument. To update multiple number of

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

(PECL CUBRID >= 8.3.0) Move the cursor in the result int cubrid_move_cursor ( resource $req_identifier, int $offset [, int $origin = CUBRID_CURSOR_CURRENT ] ) The cubrid_move_cursor() function is used to move the current cursor location of req_identifier by the value set in the offset argument, to the direction set in the origin argument. To set the origin argument, you can use CUBRID_CURSOR_FIRST for the first part of t

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