Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
/ elefrant-orm Public archive

ORM connections between waterline and Elefrant Framework

Notifications You must be signed in to change notification settings

Elefrant/elefrant-orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ORM connections between waterline and Elefrant Framework

Resources

Stars

Watchers

Forks

Packages

No packages published