范例
cubrid_affected_rows
CUBRID
PHP Manual
CUBRID 函数
Table of Contents
cubrid_affected_rows
— Get number of affected rows in previous Cubrid operation
cubrid_bind
— Is used to bind values
cubrid_client_encoding
— Returns the current CUBRID connection charset
cubrid_close_prepare
— Closes the request handle
cubrid_close_request
— Closes the request handle
cubrid_close
— Close CUBRID connection
cubrid_col_get
— Is used to get contents of the elements
cubrid_col_size
— Is used to get the number of elements
cubrid_column_names
— Is used to get the column names
cubrid_column_types
— Gets column types
cubrid_commit
— Is used to execute commit on the transaction
cubrid_connect_with_url
— Is used to establish the environment for connecting to your server
cubrid_connect
— Is used to establish the environment for connecting to your server
cubrid_current_oid
— Is used to get the oid of the current cursor location
cubrid_data_seek
— Moves the internal row pointer of the CUBRID result
cubrid_db_name
— Get db name from results of cubrid_list_dbs
cubrid_disconnect
— Ends the transaction currently on process
cubrid_drop
— Is used to delete an instance
cubrid_errno
— Returns the numerical value of the error message from previous CUBRID operation
cubrid_error_code_facility
— Is used to get the facility code
cubrid_error_code
— Is used to get the error code
cubrid_error_msg
— Is used to get the error message
cubrid_error
— Is used to get the error message
cubrid_execute
— Is used to execute the given SQL sentence.
cubrid_fetch_array
— Fetch a result row as an associative array, a numeric array, or both
cubrid_fetch_assoc
— Returns the associative array that corresponds to the fetched row
cubrid_fetch_field
— Returns an object with certain properties
cubrid_fetch_lengths
— Returns an array with the lengths of the values of each field from the current row
cubrid_fetch_object
— Returns an object with the column names
cubrid_fetch_row
— Returns a numerical array with the values of the current row
cubrid_fetch
— Is used to get a single row
cubrid_field_flags
— Returns a string with the flags of the given field offset
cubrid_field_len
— Returns the maximum length of the specified field
cubrid_field_name
— Returns the name of the specified field index
cubrid_field_seek
— Moves the result set cursor to the specified field offset
cubrid_field_table
— Returns the name of the table of the specified field
cubrid_field_type
— Returns the type of the column corresponding to the given field offset
cubrid_free_result
— Frees the memory occupied by the result data
cubrid_get_charset
— Returns the current CUBRID connection charset
cubrid_get_class_name
— Is used to get the class name
cubrid_get_client_info
— Returns a string that represents the client library version
cubrid_get_db_parameter
— Returns the CUBRID database parameters
cubrid_get_server_info
— Returns a string that represents the CUBRID server version
cubrid_get
— Is used to get the attribute
cubrid_insert_id
— Returns an array with the IDs generated for the AUTO_INCREMENT columns
cubrid_is_instance
— Is used to check whether the instance
cubrid_list_dbs
— Returns an array with the list of all existing Cubrid databases
cubrid_load_from_glo
— Is used to read a data
cubrid_lob_close
— Is used to close BLOB/CLOB
cubrid_lob_export
— Export BLOB/CLOB data to file
cubrid_lob_get
— Is used to get BLOB/CLOB data
cubrid_lob_send
— Export BLOB/CLOB data to file
cubrid_lob_size
— Get BLOB/CLOB data size
cubrid_lock_read
— Is used to put read lock
cubrid_lock_write
— Is used to put write lock
cubrid_move_cursor
— Is used to move the current cursor location
cubrid_new_glo
— Is used to create a glo instance
cubrid_num_cols
— Is used to get the number of columns
cubrid_num_fields
— Returns the number of columns in the result set
cubrid_num_rows
— Is used to get the number of rows
cubrid_ping
— Ping a server connection or reconnect if there is no connection
cubrid_prepare
— Is a sort of API which represents SQL statements
cubrid_put
— Is used to update an attribute
cubrid_query
— Send a CUBRID query
cubrid_real_escape_string
— Returns the escaped string version of the given string
cubrid_result
— Returns the value of a specific field in a specific row
cubrid_rollback
— Executes rollback on the transaction
cubrid_save_to_glo
— Is used to save requested file
cubrid_schema
— Is used to get the requested schema information
cubrid_send_glo
— Is used to read data from glo
cubrid_seq_drop
— Is used to delete an element
cubrid_seq_insert
— Is used to insert an element to a sequence
cubrid_seq_put
— Is used to update the content
cubrid_set_add
— Is used to insert a single element
cubrid_set_drop
— Is used to delete an element
cubrid_unbuffered_query
— Performs a query without fetching the results into memory
cubrid_version
— Is used to get the CUBRID PHP module’s version
范例
cubrid_affected_rows
CUBRID
PHP Manual