Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    elefrant-ormpublic

    Elefrant ORM

    wercker status

    Dependency Status

    Install

    $ npm install --save elefrant-orm

    Usage

    Elefrant orm connect Waterline ORM with Elefrant Framework

    var orm = require('elefrant-orm');
     
    var options = {
    adapters: {/* .. Adapter .. */},
    connections: {/* .. Connections .. */},
    collections: {/* .. Collections .. */},
    };
     
    orm(options, function (err, models) {
        if (err) {
            console.log(err);
        } else {
            // Get models
            // models.connections & models.collections
            console.log(models);
        }
    });

    License

    MIT © Elefrant

    install

    npm i elefrant-orm

    Downloadsweekly downloads

    3

    version

    0.2.3

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar