MySQL增強版擴充套件
- 簡介
- Overview
- Quick start guide
- 安裝/配置
- mysqli 擴充套件和持久化連線
- 預定義常量
- Notes
- MySQLi 擴充套件的功能概述
- MySQLi — MySQLi類
- mysqli::$affected_rows — Gets the number of affected rows in a previous MySQL operation
- mysqli::autocommit — 打開或關閉本次數據庫連線的自動命令提交事務模式
- mysqli::begin_transaction — Starts a transaction
- mysqli::change_user — Changes the user of the specified database connection
- mysqli::character_set_name — 返回目前數據庫連線的預設字元編碼
- mysqli::close — 關閉先前打開的數據庫連線
- mysqli::commit — 提交一個事務
- mysqli::$connect_errno — Returns the error code from last connect call
- mysqli::$connect_error — Returns a description of the last connection error
- mysqli::__construct — Open a new connection to the MySQL server
- mysqli::debug — Performs debugging operations
- mysqli::dump_debug_info — 將除錯資訊輸出到日誌
- mysqli::errno — 返回最近函式呼叫的錯誤程式碼
- mysqli::$error_list — Returns a list of errors from the last command executed
- mysqli::$error — Returns a string description of the last error
- mysqli::$field_count — Returns the number of columns for the most recent query
- mysqli::get_charset — Returns a character set object
- mysqli::$client_info — 獲取 MySQL 客戶端資訊
- mysqli_get_client_version — 作為一個整數返回MySQL客戶端的版本
- mysqli::get_connection_stats — 返回客戶端連線的統計數據
- mysqli::$host_info — 返回一個表述使用的連線型別的字串
- mysqli::$protocol_version — 返回MySQL使用的協議版本號
- mysqli::$server_info — 返回MySQL伺服器的版本號
- mysqli::$server_version — 作為一個整數返回MySQL伺服器的版本
- mysqli::get_warnings — Get result of SHOW WARNINGS
- mysqli::$info — 返回最近執行的 SQL 語句的資訊
- mysqli::init — 初始化 MySQLi 並返回一個資源型別的值,這個值可以作為 mysqli_real_connect() 函式的傳入參數
- mysqli::$insert_id — 返回最後一條插入語句產生的自增 ID
- mysqli::kill — 讓伺服器殺掉一個 MySQL 執行緒
- mysqli::more_results — 檢查批量查詢中是否還有查詢結果
- mysqli::multi_query — 執行查詢
- mysqli::next_result — 為讀取 multi_query 執行之後的下一個結果集做準備
- mysqli::options — 設定選項
- mysqli::ping — ping 一個連線,或者如果連線處於斷開狀態,重新連線
- mysqli::poll — 輪詢連線
- mysqli::prepare — 準備執行一個 SQL 語句
- mysqli::query — 對數據庫執行一次查詢
- mysqli::real_connect — 建立一個 MySQL 伺服器連線
- mysqli::real_escape_string — 根據目前連線的字符集,對於 SQL 語句中的特殊字元進行轉義
- mysqli::real_query — 執行一個mysql查詢
- mysqli::reap_async_query — 獲取非同步查詢的結果
- mysqli::refresh — 重新整理
- mysqli::release_savepoint — 從目前事務的儲存點中移除一個命名儲存點
- mysqli::rollback — 回退目前事務
- mysqli::savepoint — 在目前事務中增加一個命名儲存點
- mysqli::select_db — 選擇用於數據庫查詢的預設數據庫
- mysqli::set_charset — 設定預設字元編碼
- mysqli::$sqlstate — 返回上一次 SQL 操作的 SQLSTATE 錯誤資訊
- mysqli::ssl_set — 使用 SSL 建立到數據庫之間的安全連線
- mysqli::stat — 獲取目前系統狀態資訊
- mysqli::stmt_init — 初始化一條語句並返回一個用於mysqli_stmt_prepare(呼叫)的對象
- mysqli::store_result — 轉移上一次查詢返回的結果集
- mysqli::$thread_id — 返回目前連線的執行緒 ID
- mysqli::thread_safe — 返回是否是執行緒安全的
- mysqli::use_result — Initiate a result set retrieval
- mysqli::$warning_count — Returns the number of warnings from the last query for the given link
- MySQLi_STMT — MySQLi_STMT類
- mysqli_stmt::$affected_rows — Returns the total number of rows changed, deleted, inserted, or matched by the last statement executed
- mysqli_stmt::attr_get — Used to get the current value of a statement attribute
- mysqli_stmt::attr_set — Used to modify the behavior of a prepared statement
- mysqli_stmt::bind_param — Binds variables to a prepared statement as parameters
- mysqli_stmt::bind_result — Binds variables to a prepared statement for result storage
- mysqli_stmt::close — Closes a prepared statement
- mysqli_stmt::__construct — Constructs a new mysqli_stmt object
- mysqli_stmt::data_seek — Seeks to an arbitrary row in statement result set
- mysqli_stmt::$errno — Returns the error code for the most recent statement call
- mysqli_stmt::$error_list — Returns a list of errors from the last statement executed
- mysqli_stmt::$error — Returns a string description for last statement error
- mysqli_stmt::execute — Executes a prepared statement
- mysqli_stmt::fetch — Fetch results from a prepared statement into the bound variables
- mysqli_stmt::$field_count — Returns the number of columns in the given statement
- mysqli_stmt::free_result — Frees stored result memory for the given statement handle
- mysqli_stmt::get_result — Gets a result set from a prepared statement as a mysqli_result object
- mysqli_stmt::get_warnings — Get result of SHOW WARNINGS
- mysqli_stmt::$insert_id — Get the ID generated from the previous INSERT operation
- mysqli_stmt::more_results — Check if there are more query results from a multiple query
- mysqli_stmt::next_result — Reads the next result from a multiple query
- mysqli_stmt::$num_rows — Returns the number of rows fetched from the server
- mysqli_stmt::$param_count — Returns the number of parameters for the given statement
- mysqli_stmt::prepare — Prepares an SQL statement for execution
- mysqli_stmt::reset — Resets a prepared statement
- mysqli_stmt::result_metadata — Returns result set metadata from a prepared statement
- mysqli_stmt::send_long_data — Send data in blocks
- mysqli_stmt::$sqlstate — Returns SQLSTATE error from previous statement operation
- mysqli_stmt::store_result — Stores a result set in an internal buffer
- mysqli_result — mysqli_result類
- mysqli_result::__construct — Constructs a mysqli_result object
- mysqli_result::$current_field — Get current field offset of a result pointer
- mysqli_result::data_seek — Adjusts the result pointer to an arbitrary row in the result
- mysqli_result::fetch_all — Fetch all result rows as an associative array, a numeric array, or both
- mysqli_result::fetch_array — Fetch the next row of a result set as an associative, a numeric array, or both
- mysqli_result::fetch_assoc — Fetch the next row of a result set as an associative array
- mysqli_result::fetch_column — Fetch a single column from the next row of a result set
- mysqli_result::fetch_field_direct — Fetch meta-data for a single field
- mysqli_result::fetch_field — Returns the next field in the result set
- mysqli_result::fetch_fields — Returns an array of objects representing the fields in a result set
- mysqli_result::fetch_object — Fetch the next row of a result set as an object
- mysqli_result::fetch_row — Fetch the next row of a result set as an enumerated array
- mysqli_result::$field_count — Gets the number of fields in the result set
- mysqli_result::field_seek — Set result pointer to a specified field offset
- mysqli_result::free — Frees the memory associated with a result
- mysqli_result::getIterator — Retrieve an external iterator
- mysqli_result::$lengths — Returns the lengths of the columns of the current row in the result set
- mysqli_result::$num_rows — Gets the number of rows in the result set
- MySQLi_Driver — MySQLi_Driver類
- mysqli_driver::embedded_server_end — Stop embedded server
- mysqli_driver::embedded_server_start — Initialize and start embedded server
- mysqli_driver::$report_mode — Sets mysqli error reporting mode
- MySQLi_Warning — MySQLi_Warning類
- mysqli_warning::__construct — Private constructor to disallow direct instantiation
- mysqli_warning::next — Fetch next warning
- mysqli_sql_exception — mysqli異常類
- 別名和過時的 Mysqli 函式
- mysqli_connect — 別名 mysqli::__construct
- mysqli_escape_string — 別名 mysqli_real_escape_string
- mysqli_execute — mysqli_stmt_execute 的別名
- mysqli_get_client_stats — 返回客戶端程序統計資訊
- mysqli_get_links_stats — 返回打開和快取的鏈接相關資訊
- mysqli_report — 別名 mysqli_driver->report_mode
- mysqli::set_opt — Alias of mysqli_options