load mysql tables and table references
- node天生对json的友好,表数据和结构均可用json表示.
- 加载mysql某个数据库中的所有表结构和表关联到内存.
- 根据表结构关系,很容易组建CRUD语句.方便快捷.
- 依赖于db-mgr,请先安装配置db-mgr.
getTable(tableName)
getInsertSql = function(tableName, insertJson)
getDeleteSql = function(tableName, priValue, forValue)
getUpdateSql = function(tableName, updJson)
getSelectSql = function(tableName, priValue, forValue)