php postgresql多条,PHPPostgreSQL函数列表 - phpStudy
echo $r["fun"].' '.$r["title"]; ?>
PostgreSQL函數列表
pg_close - 關閉一個 PostgreSQL 連接
pg_connect - 打開一個 PostgreSQL 連接
pg_convert - 將關聯的數組值轉換為適合 SQL 語句的格式。
pg_copy_from - 根據數組將記錄插入表中
pg_copy_to - 將一個表拷貝到數組中
pg_end_copy - 與 PostgreSQL 后端同步
pg_escape_bytea - 轉義 bytea 類型的二進制數據
pg_escape_identifier - Escape a identifier for insertion into a text field
pg_escape_literal - Escape a literal for insertion into a text field
pg_escape_string - 轉義 text/char 類型的字符串
pg_execute - Sends a request to execute a prepared statement with given parameters, and waits for the result.
pg_fetch_all - 從結果中提取所有行作為一個數組
pg_fetch_all_columns - Fetches all rows in a particular result column as an array
pg_fetch_row - 提取一行作為枚舉數組
pg_field_size - 返回指定字段占用內部存儲空間的大小
pg_field_table - Returns the name or oid of the tables field
pg_field_type - 返回相應字段的類型名稱
pg_field_type_oid - Returns the type ID (OID) for the corresponding field number
pg_get_pid - Ping 數據庫連接
pg_host - 返回和某連接關聯的主機名
pg_insert - 將數組插入到表中
pg_last_error - 得到某連接的最后一條錯誤信息
pg_last_notice - 返回 PostgreSQL 服務器最新一條公告信息
pg_last_oid - 返回上一個對象的 oid
pg_lo_export - 將大型對象導出到文件
pg_lo_import - 將文件導入為大型對象
pg_lo_open - 打開一個大型對象
pg_lo_read - 從大型對象中讀入數據
pg_lo_read_all - 讀入整個大型對象并直接發送給瀏覽器
pg_lo_seek - 移動大型對象中的指針
pg_lo_tell - 返回大型對象的當前指針位置
pg_lo_write - 向大型對象寫入數據
pg_options - 獲得和連接有關的選項
pg_parameter_status - Looks up a current parameter setting of the server.
pg_pconnect - 打開一個持久的 PostgreSQL 連接
pg_ping - Ping 數據庫連接
pg_port - 返回該連接的端口號
pg_prepare - Submits a request to create a prepared statement with the
given parameters, and waits for completion.
pg_put_line - 向 PostgreSQL 后端發送以 NULL 結尾的字符串
pg_query_params - Submits a command to the server and waits for the result, with the ability to pass parameters separately from the SQL command text.
pg_result_error_field - Returns an individual field of an error report.
pg_result_seek - 在結果資源中設定內部行偏移量
pg_send_execute - Sends a request to execute a prepared statement with given parameters, without waiting for the result(s).
pg_send_prepare - Sends a request to create a prepared statement with the given parameters, without waiting for completion.
pg_send_query_params - Submits a command and separate parameters to the server without waiting for the result(s).
pg_set_error_verbosity - Determines the verbosity of messages returned by pg_last_error
and pg_result_error.
pg_trace - 啟動一個 PostgreSQL 連接的追蹤功能
pg_transaction_status - Returns the current in-transaction status of the server.
pg_tty - 返回該連接的 tty 號
pg_unescape_bytea - 取消 bytea 類型中的字符串轉義
pg_untrace - 關閉 PostgreSQL 連接的追蹤功能
pg_version - Returns an array with client, protocol and server version (when available)
總結
以上是生活随笔為你收集整理的php postgresql多条,PHPPostgreSQL函数列表 - phpStudy的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mysql use index用法_My
- 下一篇: 风速18米/秒 暹芭或成今年首个登陆我国