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

    merlinpublic

    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);

    Keywords

    none

    install

    npm i merlin

    Downloadsweekly downloads

    5

    version

    0.0.1-0

    license

    MIT

    last publish

    collaborators

    • avatar