Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tek-tech/deebee

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tek-tech/deebee

talking with a mysql|postgres database made easier

  • 1.0.5-rocks-0.4-beta
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

deebee

mysql requests made easier for nodejs

example usage

Installation

npm i @tek-tech/deebee

Initialisation

const DeeBee = require('@tek-tech/deebee');

simple connection to a mysql database || connexion simple a une base de donnee mysql

const DeeBee = require('@tek-tech/deebee');
const credentials = {
user:'database_username',
password:'database_password',
database:'database_name',
host:'database_host'
};
const connection = new DeeBee(credentials);
connection.whenReady(
  ()=>{
      //do something with the connection
      //faire quelque chose avec la connexion
  }
)

execute a basic sql request | executer une simple requete

const exec = connection._db();
exec.query(`select * table name`,(error,rows)=>{
 if(error){
   //do something with the error message | on traite l'erreur
 }else{
   //do something with the result | on traite le resultat(rows; stores an array|contient un array)
 }
});

Made-In-Senegal

Keywords

FAQs

Package last updated on 11 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc