the_launch-mysql-layer

1.0.1 • Public • Published

Mysql Layer

This is a simple wrapper around the nodejs mysql package.

It allows you to establish a connection and then handle asynchronous queries without taking up quite as much space.

Installation

npm i --save the_launch-mysql-layer

Usage

const Connection = new Conn(<args>) Connection.asyncQuery('Some Query ?', [productId]).then(data => console.log(data))

Import Package(s)

  • import { Conn } from 'the_launch-mysql-layer'
  • import { Pool } from 'the_launch-mysql-layer'
  • import Mysql from 'the_launch-mysql-layer'

History

  • Initial Commit

Credits

  • Company: ©2019 The Launch
  • Author: Daniel Griffiths
  • Role: Founder and Engineer
  • Project: ©2020 CryptoDock

License

MIT Licence ©2020 Daniel Griffiths

Readme

Keywords

Package Sidebar

Install

npm i the_launch-mysql-layer

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

5.99 kB

Total Files

7

Last publish

Collaborators

  • the_launch_tech