温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

PHP SQlite数据库相关函数有哪些

发布时间:2021-10-18 17:00:09 来源:亿速云 阅读:114 作者:柒染 栏目:编程语言

今天就跟大家聊聊有关PHP SQlite数据库相关函数有哪些,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。

PHP SQlite数据库对于拥有相当经验的PHP程序员来说是不会陌生的,但是要想完全掌握PHP SQlite数据库的相关函数的应用也不是一件易事。下面我们就为大家总结了一些PHP SQlite数据库的相关函数。

PHP SQlite数据库之sqlite_array_query —— 发送一条 SQL 查询,并返回一个数组。

sqlite_busy_timeout —— 设置超时时间(busy timeout duration),或者频繁的用户失去权限(disable busy handlers)。

sqlite_changes —— 返回被***的SQL 查询(changed by the most recent SQL statement)改变的行数。

sqlite_close —— 关闭一个打开的SQLite数据库。

sqlite_column —— 在当前的行中取得一列(a column from the current row of a result set)。

sqlite_create_aggregate —— Register an aggregating UDF for use in SQL statements。

sqlite_create_function —— Registers a "regular" User Defined Function for use in SQL statements。

sqlite_current —— 在返回的数组中取得当前的行(the current row from a result set as an array)。

sqlite_error_string —— 返回错误代码的原始描述(the textual description of an error code)。

sqlite_escape_string —— 释放一个用于查询的字符串(Escapes a string for use as a query parameter)。

sqlite_fetch_array —— 取得下一行并设置成一个数组(the next row from a result set as an array)。

sqlite_fetch_single —— 取得***列并设置成一个字符串(Fetches the first column of a result set as a string)。

sqlite_fetch_string —— sqlite_fetch_single()的别名。

sqlite_field_name —— 取得结果中指定字段的字段名。

sqlite_has_more —— 返回是否有更多可用的行(whether or not more rows are available)。

sqlite_last_error —— 返回数据库的***的错误代码(the error code of the last error for a database)。

sqlite_last_insert_rowid —— 返回***插入的行的行号(the most recently inserted row)。

sqlite_libencoding —— 返回SQLite库(SQLite library)的编码(encoding)。

PHP SQlite数据库之sqlite_libversion —— 返回SQLite库(SQLite library)的版本。

sqlite_next —— 返回下一行的行号。

sqlite_num_fields —— 取得结果集中字段的数目。

sqlite_num_rows —— 取得结果集中行的数目。

sqlite_open —— 打开一个SQLite数据库。如果文件不存在则尝试创建之。

sqlite_popen —— 用***连接的方式打开一个SQLite数据库。如果文件不存在则尝试创建之。

sqlite_query —— 发送一条 SQL 查询,并返回一个结果句柄(a result handle)。

sqlite_rewind —— 倒回***行(Seek to the first row number)。

sqlite_seek —— 在缓存结果中查找特定的行号(Seek to a particular row number of a buffered result set)。

sqlite_udf_decode_binary —— Decode binary data passed as parameters to an UDF。

sqlite_udf_encode_binary —— Encode binary data before returning it from an UDF。

PHP SQlite数据库之sqlite_unbuffered_query —— 发送一条 SQL 查询,并不获取和缓存结果的行。

看完上述内容,你们对PHP SQlite数据库相关函数有哪些有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注亿速云行业资讯频道,感谢大家的支持。

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI