@sdalu/db

0.1.1 • Public • Published

DB

Provide basic interraction with databases.

As it relies on the knex 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

Readme

Keywords

Package Sidebar

Install

npm i @sdalu/db

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

28.7 kB

Total Files

11

Last publish

Collaborators

  • sdalu