0.1.16 • Published 2 years ago

fastcar-mysql-tool v0.1.16

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

基于fastcar-core框架下的 mysql 逆向生成工具

快速安装

npm install fastcar-mysql-tool

实例

import { ReverseGenerate } from "fastcar-mysql-tool";
import * as path from "path";

let basePath = path.join(__dirname, "../", "src");
let modelPath = path.join(basePath, "model");
let mapperPath = path.join(basePath, "mapper");

describe("逆向生成工具", () => {
 it("逆向生成", async () => {
  ReverseGenerate.generator(["table_example"], modelPath, mapperPath, {
   database: "database_example",
   user: "root",
   password: "123456",
   host: "localhost",
  });
 });
});

更多用法

参考项目git地址 fastcar-mysql-tool/test 下的simple内

项目开源地址

0.1.14

2 years ago

0.1.15

2 years ago

0.1.16

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.2

2 years ago

0.1.7

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago