SQLDump

From NSB App Studio
Revision as of 11:47, 3 June 2024 by Ghenne (talk | contribs) (Created page with "SQLDump(''DB'', [''tablename'']) == Description == SQLDump() outputs the content of an SQLite database table to the console. It works both in the local console and when connected the remote console of an Android or iOS device. It replaces a similar functionality which existed with WebSQL, as a tab in the Chrome Console. ''DB'' is the reference to the database, returned by SqlOpenDatabase. It's helpful to declare this as a global variable. ''tablename'' is the nam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SQLDump(DB, [tablename])

Description

SQLDump() outputs the content of an SQLite database table to the console. It works both in the local console and when connected the remote console of an Android or iOS device.

It replaces a similar functionality which existed with WebSQL, as a tab in the Chrome Console.

DB is the reference to the database, returned by SqlOpenDatabase. It's helpful to declare this as a global variable. tablename is the name of a table in the database.

For more information on SQLite, see Using SQLite.

Example

Related Items

SqlOpenDatabase