@arshadkazmi42/my-no-sql

1.0.2 • Public • Published

my-no-sql

Light weight easy to use MySQL client

Give us a if you like our work ❤️

Install

$ npm install @arshadkazmi42/my-no-sql

Usage

const SqlClient = require('@arshadkazmi42/my-no-sql');

const DB_OPTIONS = {
  host: 'hostname',
  database: 'database_name',
  user: 'database_user',
  password: 'database_password',
  acquireTimeout: 'aquired_timeout' // optional
}

const Client = new SqlClient(DB_OPTIONS);
const QUERY = `SELECT * FROM TABLE_NAME WHERE ID = ?`;
const QUERY_VALUES = [1];

(async () => {
  const queryResult = await Client.queryAsync(QUERY, QUERY_VALUES);
})();

Contributing

We are constantly working on improving my-no-sql and we need all the help we can get.

You can contribute to this project by giving suggestions, fixing open issues or by implementing a new feature. Read our contibution guide here

Contributors

Thank you to all the contributors who have helped us in making this project better 🙌

Package Sidebar

Install

npm i @arshadkazmi42/my-no-sql

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

6.11 kB

Total Files

8

Last publish

Collaborators

  • arshadkazmi42