mysql2json
This module loads mysql meta data and returns it as json.
Usage
CLI
- create a config file:
"charset": "utf8" "database": "heinzel" "host": "127.0.0.1" "user": "user" "password": "password"
- use the cli
node bin\cli.js -c configFile -o outputFile
use help (-h / -help) for more information 3. select desired table
Node module
var mysql2json = ; //1. Setup connectionmysql2json; //2. Get tablesmysql2json ; //3. Get columnsmysql2json ; //4. Get relationsmysql2json ;