From 9f85cee2c4afd4ef3a64e63946e008e49395e5ef Mon Sep 17 00:00:00 2001 From: Ric Grant <39122715+qwebltd@users.noreply.github.com> Date: Sat, 27 Mar 2021 10:45:09 +0000 Subject: [PATCH] Replaced broken LuaSQLite Documentation link (#78) --- markdown/api/library/sqlite3/index.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/markdown/api/library/sqlite3/index.markdown b/markdown/api/library/sqlite3/index.markdown index 464469489..2bf241bb1 100644 --- a/markdown/api/library/sqlite3/index.markdown +++ b/markdown/api/library/sqlite3/index.markdown @@ -4,13 +4,13 @@ > __Type__ [Library][api.type.Library] > __Revision__ [REVISION_LABEL](REVISION_URL) > __Keywords__ sqlite3, database, sqlite -> __See also__ [LuaSQLite Documentation](http://luasqlite.luaforge.net/lsqlite3.html) +> __See also__ [LuaSQLite Documentation](http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki) > [SQLite Language Reference](http://www.sqlite.org/lang.html) > --------------------- ------------------------------------------------------------------------------------------ ## Overview -Corona includes support for SQLite databases on all platforms. The documentation for LuaSQLite can be viewed [here](http://luasqlite.luaforge.net/lsqlite3.html). +CORONA_CORE_PRODUCT includes support for SQLite databases on all platforms. The documentation for LuaSQLite can be viewed [here](http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki). ## Gotchas @@ -24,11 +24,11 @@ When providing a file path to `open()`, make sure to use [system.pathForFile()][ * `sqlite3.version()` — Returns the version of SQLite in use. Returns a string with SQLite version information in the form `x.y[.z]`. -* `file:exec( SQL_Command )` — Executes a SQL command in the database. Typically this is used to create tables, insert, update, append, or retrieve data from a database. In case of an error, this function returns a numerical [error code](http://luasqlite.luaforge.net/lsqlite3.html#numerical%20error%20and%20result%20codes). +* `file:exec( SQL_Command )` — Executes a SQL command in the database. Typically this is used to create tables, insert, update, append, or retrieve data from a database. In case of an error, this function returns a numerical [error code](http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#numerical_error_and_result_codes). * `file:nrows( SQL_Command )` — Returns successive rows from the SQL statement. Each call to the iterator returns a table in which the named fields correspond to the columns in the database. -* `file:close()` — Closes the database. In case of an error, this function returns a numerical [error code](http://luasqlite.luaforge.net/lsqlite3.html#numerical%20error%20and%20result%20codes). +* `file:close()` — Closes the database. In case of an error, this function returns a numerical [error code](http://lua.sqlite.org/index.cgi/doc/tip/doc/lsqlite3.wiki#numerical_error_and_result_codes). ## Examples