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

Elefrant/elefrant-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elefrant Documentation

wercker status

Dependency Status

Generate auto-documentation with swagger.

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

Generate auto-documentation with swagger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published