An open API service indexing awesome lists of open source software.

https://github.com/sdalu/node-red-db

A node to provide basic database interaction.
https://github.com/sdalu/node-red-db

database node-red

Last synced: 11 months ago
JSON representation

A node to provide basic database interaction.

Awesome Lists containing this project

README

          

# DB

Provide basic interraction with databases.

As it relies on the [knex](https://knexjs.org/) framework to perform
database access, it is protected from SQL injection, that is not
the case for the official mysql node.

Supported databases: MySQL, MariaDB, PostgreSQL

Indicated dependencies are Node RED >= 3 and NodeJS >= 20, but
it is certainly working with other versions.

## db insert

Insert data into a database table.

## db query

Perform SQL query using `knex.raw`