溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

PHP SQlite數(shù)據(jù)庫相關(guān)函數(shù)有哪些

發(fā)布時間:2021-10-18 17:00:09 來源:億速云 閱讀:124 作者:柒染 欄目:編程語言

今天就跟大家聊聊有關(guān)PHP SQlite數(shù)據(jù)庫相關(guān)函數(shù)有哪些,可能很多人都不太了解,為了讓大家更加了解,小編給大家總結(jié)了以下內(nèi)容,希望大家根據(jù)這篇文章可以有所收獲。

PHP SQlite數(shù)據(jù)庫對于擁有相當(dāng)經(jīng)驗的PHP程序員來說是不會陌生的,但是要想完全掌握PHP SQlite數(shù)據(jù)庫的相關(guān)函數(shù)的應(yīng)用也不是一件易事。下面我們就為大家總結(jié)了一些PHP SQlite數(shù)據(jù)庫的相關(guān)函數(shù)。

PHP SQlite數(shù)據(jù)庫之sqlite_array_query —— 發(fā)送一條 SQL 查詢,并返回一個數(shù)組。

sqlite_busy_timeout —— 設(shè)置超時時間(busy timeout duration),或者頻繁的用戶失去權(quán)限(disable busy handlers)。

sqlite_changes —— 返回被***的SQL 查詢(changed by the most recent SQL statement)改變的行數(shù)。

sqlite_close —— 關(guān)閉一個打開的SQLite數(shù)據(jù)庫。

sqlite_column —— 在當(dāng)前的行中取得一列(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 —— 在返回的數(shù)組中取得當(dāng)前的行(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 —— 取得下一行并設(shè)置成一個數(shù)組(the next row from a result set as an array)。

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

sqlite_fetch_string —— sqlite_fetch_single()的別名。

sqlite_field_name —— 取得結(jié)果中指定字段的字段名。

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

sqlite_last_error —— 返回數(shù)據(jù)庫的***的錯誤代碼(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數(shù)據(jù)庫之sqlite_libversion —— 返回SQLite庫(SQLite library)的版本。

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

sqlite_num_fields —— 取得結(jié)果集中字段的數(shù)目。

sqlite_num_rows —— 取得結(jié)果集中行的數(shù)目。

sqlite_open —— 打開一個SQLite數(shù)據(jù)庫。如果文件不存在則嘗試創(chuàng)建之。

sqlite_popen —— 用***連接的方式打開一個SQLite數(shù)據(jù)庫。如果文件不存在則嘗試創(chuàng)建之。

sqlite_query —— 發(fā)送一條 SQL 查詢,并返回一個結(jié)果句柄(a result handle)。

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

sqlite_seek —— 在緩存結(jié)果中查找特定的行號(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數(shù)據(jù)庫之sqlite_unbuffered_query —— 發(fā)送一條 SQL 查詢,并不獲取和緩存結(jié)果的行。

看完上述內(nèi)容,你們對PHP SQlite數(shù)據(jù)庫相關(guān)函數(shù)有哪些有進(jìn)一步的了解嗎?如果還想了解更多知識或者相關(guān)內(nèi)容,請關(guān)注億速云行業(yè)資訊頻道,感謝大家的支持。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI