1.0.1 • Published 6 years ago

database-js-ini v1.0.1

Weekly downloads
11
License
MIT
Repository
github
Last release
6 years ago

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();
    }
})();
1.0.1

6 years ago

1.0.0

6 years ago