Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« 针对各数据库系统对应的扩展
PHP 手册
函数参考
数据库扩展
针对各数据库系统对应的扩展
Change language:
English
Brazilian Portuguese
Chinese (Simplified)
French
German
Japanese
Korean
Romanian
Russian
Spanish
Turkish
Other
Edit
Report a Bug
CUBRID
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
示例
CUBRID 函数
cubrid_bind
— Bind variables to a prepared statement as parameters
cubrid_close_prepare
— Close the request handle
cubrid_close_request
— Close the request handle
cubrid_col_get
— Get contents of collection type column using OID
cubrid_col_size
— Get the number of elements in collection type column using OID
cubrid_column_names
— Get the column names in result
cubrid_column_types
— Get column types in result
cubrid_commit
— Commit a transaction
cubrid_connect_with_url
— Establish the environment for connecting to CUBRID server
cubrid_connect
— Open a connection to a CUBRID Server
cubrid_current_oid
— Get OID of the current cursor location
cubrid_disconnect
— Close a database connection
cubrid_drop
— Delete an instance using OID
cubrid_error_code_facility
— Get the facility code of error
cubrid_error_code
— Get error code for the most recent function call
cubrid_error_msg
— Get last error message for the most recent function call
cubrid_execute
— Execute a prepared SQL statement
cubrid_fetch
— Fetch the next row from a result set
cubrid_free_result
— Free the memory occupied by the result data
cubrid_get_autocommit
— Get auto-commit mode of the connection
cubrid_get_charset
— Return the current CUBRID connection charset
cubrid_get_class_name
— Get the class name using OID
cubrid_get_client_info
— Return the client library version
cubrid_get_db_parameter
— Returns the CUBRID database parameters
cubrid_get_query_timeout
— Get the query timeout value of the request
cubrid_get_server_info
— Return the CUBRID server version
cubrid_get
— Get a column using OID
cubrid_insert_id
— Return the ID generated for the last updated AUTO_INCREMENT column
cubrid_is_instance
— Check whether the instance pointed by OID exists
cubrid_lob_close
— Close BLOB/CLOB data
cubrid_lob_export
— Export BLOB/CLOB data to file
cubrid_lob_get
— Get BLOB/CLOB data
cubrid_lob_send
— Read BLOB/CLOB data and send straight to browser
cubrid_lob_size
— Get BLOB/CLOB data size
cubrid_lob2_bind
— Bind a lob object or a string as a lob object to a prepared statement as parameters
cubrid_lob2_close
— Close LOB object
cubrid_lob2_export
— Export the lob object to a file
cubrid_lob2_import
— Import BLOB/CLOB data from a file
cubrid_lob2_new
— Create a lob object
cubrid_lob2_read
— Read from BLOB/CLOB data
cubrid_lob2_seek64
— Move the cursor of a lob object
cubrid_lob2_seek
— Move the cursor of a lob object
cubrid_lob2_size64
— Get a lob object's size
cubrid_lob2_size
— Get a lob object's size
cubrid_lob2_tell64
— Tell the cursor position of the LOB object
cubrid_lob2_tell
— Tell the cursor position of the LOB object
cubrid_lob2_write
— Write to a lob object
cubrid_lock_read
— Set a read lock on the given OID
cubrid_lock_write
— Set a write lock on the given OID
cubrid_move_cursor
— Move the cursor in the result
cubrid_next_result
— Get result of next query when executing multiple SQL statements
cubrid_num_cols
— Return the number of columns in the result set
cubrid_num_rows
— Get the number of rows in the result set
cubrid_pconnect_with_url
— Open a persistent connection to CUBRID server
cubrid_pconnect
— Open a persistent connection to a CUBRID server
cubrid_prepare
— Prepare a SQL statement for execution
cubrid_put
— Update a column using OID
cubrid_rollback
— Roll back a transaction
cubrid_schema
— Get the requested schema information
cubrid_seq_drop
— Delete an element from sequence type column using OID
cubrid_seq_insert
— Insert an element to a sequence type column using OID
cubrid_seq_put
— Update the element value of sequence type column using OID
cubrid_set_add
— Insert a single element to set type column using OID
cubrid_set_autocommit
— Set autocommit mode of the connection
cubrid_set_db_parameter
— Sets the CUBRID database parameters
cubrid_set_drop
— Delete an element from set type column using OID
cubrid_set_query_timeout
— Set the timeout time of query execution
cubrid_version
— Get the CUBRID PHP module's version
CUBRID MySQL 兼容性函数
cubrid_affected_rows
— Return the number of rows affected by the last SQL statement
cubrid_client_encoding
— Return the current CUBRID connection charset
cubrid_close
— Close CUBRID connection
cubrid_data_seek
— Move the internal row pointer of the CUBRID result
cubrid_db_name
— Get db name from results of cubrid_list_dbs
cubrid_errno
— Return the numerical value of the error message from previous CUBRID operation
cubrid_error
— Get the error message
cubrid_fetch_array
— Fetch a result row as an associative array, a numeric array, or both
cubrid_fetch_assoc
— Return the associative array that corresponds to the fetched row
cubrid_fetch_field
— Get column information from a result and return as an object
cubrid_fetch_lengths
— Return an array with the lengths of the values of each field from the current row
cubrid_fetch_object
— Fetch the next row and return it as an object
cubrid_fetch_row
— Return a numerical array with the values of the current row
cubrid_field_flags
— Return a string with the flags of the given field offset
cubrid_field_len
— Get the maximum length of the specified field
cubrid_field_name
— Return the name of the specified field index
cubrid_field_seek
— Move the result set cursor to the specified field offset
cubrid_field_table
— Return the name of the table of the specified field
cubrid_field_type
— Return the type of the column corresponding to the given field offset
cubrid_list_dbs
— Return an array with the list of all existing CUBRID databases
cubrid_num_fields
— Return the number of columns in the result set
cubrid_ping
— Ping a server connection or reconnect if there is no connection
cubrid_query
— Send a CUBRID query
cubrid_real_escape_string
— Escape special characters in a string for use in an SQL statement
cubrid_result
— Return the value of a specific field in a specific row
cubrid_unbuffered_query
— Perform a query without fetching the results into memory
CUBRID 过时的别名和函数
cubrid_load_from_glo
— Read data from a GLO instance and save it in a file
cubrid_new_glo
— Create a glo instance
cubrid_save_to_glo
— Save requested file in a GLO instance
cubrid_send_glo
— Read data from glo and send it to std output
add a note
User Contributed Notes
There are no user contributed notes for this page.