0.0.2 • Published 7 years ago

sqlmock v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

SQLMock

quickly generating mock data by the fields description of thedatabase table.

install

$ npm i sqlmock --save-dev

usage

var SQLMock = require('sqlmock');
var mockIns = new SQLMock({
    host: 'localhost',
    user: 'root',
    password: '1234',
    database: 'db_test'
});

mockIns.loadMockData({
    table: 't_test_table',
    total: 10
}).then(function () {
    console.log('done')
});
0.0.2

7 years ago

0.0.1

7 years ago