1.0.10 • Published 7 years ago

orm_framework v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

#orm_framework #please read example how to use ##Install

$npm install --save orm_framework

##Example config

var path = require("path");
var config = {
    "database": {
        "host": "",
        "user": "",
        "password": "",
        "port": "",
        "database": "",
        "max": 4,
        "min": 2,
        "idleTimeoutMillis": 10000,
        "protocol": "mysql",
        "socketPath": "",
        "query": {
            "pool": true,
            "debug": false
        }
    },
    "modelsPath": "../example/models",
    "options": {
        "instance.cache": false
    }
}
config['modelsPath'] = path.normalize(path.join(__dirname, '../example//models'));
module.exports = config;

##Example init

var OrmInstance = require("orm_framework");
OrmInstance.init(require("../config"));

##License MIT

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago