Input · Files

SQLite Reader

Reads one table from a local SQLite database file (.sqlite, .sqlite3 or .db). You pick the table from the file's list of tables.

Also known as: Embedded database

How it works

The drone attaches the database file and lists its tables. File path names the .sqlite, .sqlite3 or .db file and is always typed; Table picks the table to read and is the one field you can bind to a column of the Loop's Current item, so a loop reads several tables from the same file. SQLite has a single main schema, so the table name alone identifies it. The node does not run until both fields are set.

Inputs and outputs

Inputs

None — this node starts a workflow.

Outputs

  • data — Table

Settings

The Attributes panel of SQLite Reader, as in the app: the controls work, but nothing runs — there is no data behind it.

Example

A mobile app's app.sqlite with the tables users, events and purchases. Set File path to the file and Table to events. To export all three, put the reader in a Loop over a Constant Table of the three names and bind Table to that column.