Skip to content

pedroladeira/db-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

db-engine

Engine for postgreSQL and MySQL databases

Current status (DEV)

This package is currently in development

Roadmap

  • Add postgresql support (DEV)
  • Add mysql support (DEV)

Instalation

install with npm

npm install jelly-db-engine

install with yarn

yarn add jelly-db-engine

Documentation

connection type

  • postgresql
  • mysql

connect to database

const con = {
    type: 'mysql',
    host: '127.0.0.1',
    user: 'user',
    pass: '',
    port: 3306,
    database: 'mydatabase',
};

new DBEngine().connect(
            con.type,
            con.host,
            con.user,
            con.pass,
            con.port,
            con.database).then((e: any) => {
                console.log('connecting...', e);
            });

About

Engine for postgreSQL and MySQL databases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published