日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

php postgresql多条,PHPPostgreSQL函数列表 - phpStudy

發布時間:2023/12/10 php 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。