merlin

0.0.1-0 • Public • Published

Merlin ORM

Merlin is an ORM (Object Relational Mapper) designed for the flexablity and preformance needed when creating large scale applications. Merlin's major advatages include a database driver interface, enabling you to use and database you like, a plugin interface, allowing to to extend or modify any aspect of the ORM with plugins, and a streaming CRUD interface.

Examples

Basic Find

Customer.find({ ... }, function(err, customers) {
    ...
});

Streaming Find

var stream = Customer.find({ ... });
 
stream.forEach(function(err, customer) { ... });
// OR
stream.pipe(outStream);

Basic Insert

Customer.insert([ { ... }, ... ], function(err, customers) {
    ...
});

Streaming Insert

inStream.pipe(Customer.insert()).pipe(outStream);

Readme

Keywords

none

Package Sidebar

Install

npm i merlin

Weekly Downloads

3

Version

0.0.1-0

License

MIT

Last publish

Collaborators

  • robertwhurst