npm

database-js-ini

1.0.1 • Public • Published

database-js-ini

database-js-firebase

Build Status

Database-js Wrapper for INI files

About

Database-js-mysql is a wrapper around the mysql package by Doug Wilson. It is intended to be used with the database-js package. However it can also be used in stand alone mode. The only reason to do that would be to use Promises.

Usage

var Database = require('database-js2').Connection;

(async () => {
    let connection, statement, rows;
    connection = new Database('database-js-ini:///test.ini');
    
    try {
        statement = await connection.prepareStatement("SELECT * FROM ROOT");
        rows = await statement.query();
        console.log(rows);
    } catch (error) {
        console.log(error);
    } finally {
        await connection.close();
    }
})();

Readme

Keywords

Package Sidebar

Install

npm i database-js-ini

Weekly Downloads

67,065

Version

1.0.1

License

MIT

Last publish

Collaborators

  • manderson10