node-red-contrib-sqlitedb
v1.5.1
Published
Sends SQL queries to an SQLite cloud database provided as a service at <a href="https://www.sqlitedb.com/" target="_blank">https://www.sqlitedb.com/</a>
Downloads
239
Readme
SQLiteDB - Module for Node-Red
Description
Sends SQL queries to an SQLite cloud database provided as a service at https://www.sqlitedb.com/
Requirements
To use this node first register for an account at https://www.sqlitedb.com/ and create a database. Get the provided API URL and API KEY and add to this node configurations to be able to access the cloud database.
Extra Benefits
An online admin panel is provided with each cloud database. It allows to fully manage the database via a web browser and allows the following actions to be completed conveniently via a graphical user interface:
- alter tables
- create tables
- drop tables
- export tables
- truncate tables
RECORDS
- delete records
- insert records
- select/read records
- update records
- view/search records
How to Use
The node provides two methods for providing the SQL code for the query:
- fixed - convenient for permanent SQL statements. The SQL is entered directly in the node configurator.
Using any SQL query, the result is returned in msg.payload. After submitting the query a response message in the payload will be returned in the following format:
- Success response {"status":"success","message":"Message text","data":[]}
- Success response {"status":"error","message":"Message text"}