位置: 编程技术 - 正文

PHP:pg_result_status()的用法_PostgreSQL函数

编辑:rootadmin
pg_result_status

推荐整理分享PHP:pg_result_status()的用法_PostgreSQL函数,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.2.0, PHP 5)

PHP:pg_result_status()的用法_PostgreSQL函数

pg_result_status — 获得查询结果的状态

说明 int pg_result_status ( resource $result )

pg_result_status() 返回该查询结果资源的状态。可能的返回值有 PGSQL_EMPTY_QUERY,PGSQL_COMMAND_OK,PGSQL_TUPLES_OK,PGSQL_COPY_TO,PGSQL_COPY_FROM,PGSQL_BAD_RESPONSE,PGSQL_NONFATAL_ERROR 和 PGSQL_FATAL_ERROR。

参见 pg_connection_status()。

PHP:pg_result_seek()的用法_PostgreSQL函数 pg_result_seek(PHP4=4.3.0,PHP5)pg_result_seek在结果资源中设定内部行偏移量说明arraypg_result_seek(resource$result,int$offset)pg_result_seek()在结果资源中设定内部行偏移量

PHP:pg_result_error()的用法_PostgreSQL函数 pg_result_error(PHP4=4.2.0,PHP5)pg_result_error获得查询结果的错误信息说明stringpg_result_error(resource$result)pg_result_error()返回和result资源关联的错误信息。因此用户

PHP:pg_result_error_field()的用法_PostgreSQL函数 pg_result_error_field(PHP5=5.1.0)pg_result_error_fieldReturnsanindividualfieldofanerrorreport.说明stringpg_result_error_field(resource$result,int$fieldcode)pg_result_error_field()returnsoneofthedeta

本文链接地址:https://www.jiuchutong.com/biancheng/281450.html 转载请保留说明!

上一篇:PHP:pg_select()的用法_PostgreSQL函数

下一篇:PHP:pg_result_seek()的用法_PostgreSQL函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络