README
@eggjs/tegg-orm-plugin
使用注解的方式来开发 egg 中的 Controller
Install
npm i --save @eggjs/tegg-orm-plugin
Config
// config/plugin.js
exports.teggOrm = {
package: '@eggjs/tegg-orm-plugin',
enable: true,
};
orm decorator for egg
<script type="module">
import eggjsTeggOrmPlugin from 'https://cdn.skypack.dev/@eggjs/tegg-orm-plugin';
</script>
使用注解的方式来开发 egg 中的 Controller
npm i --save @eggjs/tegg-orm-plugin
// config/plugin.js
exports.teggOrm = {
package: '@eggjs/tegg-orm-plugin',
enable: true,
};