Skip to content

tulingdsj/egg-dmdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

egg-dmdb

NPM version npm download

Install

$ npm i egg-dmdb --save

Usage

// {app_root}/config/plugin.js
exports.dmdb = {
  enable: true,
  package: 'egg-dmdb',
};

Configuration

// {app_root}/config/config.default.js
exports.dmdb = {
};

see config/config.default.js for more detail.

Example

const rows = await this.app.dmdb.query('SELECT * FROM TABLE1 limit 0,3');
console.log(rows);

Questions & Suggestions

Please open an issue here.

License

MIT

About

eggjs达梦数据库操作插件

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published