0.1.16 • Published 3 years ago

fastcar-mysql-tool v0.1.16

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.2

3 years ago

0.1.7

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago