文件名称:db-synchronize
文件大小:8KB
文件格式:ZIP
更新时间:2024-06-08 05:00:59
JavaScript
数据库同步 简单的例子: var DBSync = require('db-synchornize') var srConfig = { host:"localhost", user: "root", password:"tanlm", database: "db1" } var desConfig = { host:"localhost", user: "root", password:"tanlm", database: "db3"//TODO moi thay db2 thanh db3 de test } var tan = new DBSync(srConfig, desConfig); //tan.mappingGenerate('/home/minhtan/Desktop/') tan.mappingPa
【文件预览】:
db-synchronize-master
----index.js(6KB)
----package.json(436B)
----.gitignore(47B)
----lib()
--------test.js(434B)
--------config-relation.json(423B)
--------swap.js(720B)
--------util.js(1KB)
--------mapping-gen.js(8KB)
--------config-gen.json(444B)
----README.md(708B)