SQLite Connector Setup
SQLite Connector Setup
The SQLite connector allows you to integrate SQLite into your data flow by pushing or pulling data from SQLite. Follow the steps below to connect CData Arc to SQLite.
Connect a Database
From the Connector Configuration Pane
Drag the SQLite connector into an Arc flow and give it a name.
In the Connector Configuration pane, click + Create next to the Connection drop-down list.
The Add Connection modal appears. Provide the requested information:
- Name — The static name of the connection. Set this as desired.
- Type — This is always set to SQLite.
- Data Source — The local file path to the database file. For example,
If needed, click Advanced to open the drop-down menu of advanced connection settings. These should not be needed in most cases.
Click Test Connection to ensure that Arc can reach the specified file. If an error occurs, check the path and folder permissions.
Click + Add Connection to finalize the connection.
In the Connection drop-down list of the connector configuration pane, select the newly-created connection.
Click Save Changes.
From the Settings Page
Open the Settings page, and then click the Connections tab.
Click + Add to open the Connection Type modal.
Click SQLite, then click Next.
Continue from step 3 above for Connection Configuration Pane.
Select an Action
After establishing a connection to SQLite, you must choose the action that the SQLite connector will perform. The table below outlines each action and where it belongs in an Arc flow.
|Action||Description||Position in Flow|
|Upsert||Inserts or updates SQLite data. By default, if a record already exists in SQLite, an update is performed on the existing data in SQLite using the values provided from the input.||End|
|Lookup||Retrieves a value from SQLite and inserts that value into an already-existing Arc message in the flow.
The Lookup Query determines what value the connector will retrieve from SQLite. It should be formatted as a SQL query against the SQLite tables.
|Select||Retrieves data from SQLite and brings it into Arc.
You can use the Filter panel to add filters to the Select. These filters function similarly to WHERE clauses in SQL.
|Execute Stored Procedures||Treats data coming into the connector as input for a stored procedure, and then passes the result down the flow.
You can click the Show Sample Data button to provide sample inputs to the selected Stored Procedure and preview the results.