Skip to content

mlaanderson/database-js-ini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database-js-ini

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

About

Database-js Wrapper for INI files

Resources

License

Stars

Watchers

Forks

Packages

No packages published