New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Service manager functions #56

Merged
merged 1 commit into from Feb 27, 2015

Conversation

Projects
None yet
2 participants
@sdnetwork
Contributor

sdnetwork commented Feb 27, 2015

just a test case, if contributors of node-firebird could comment the
code it could be fine.
if they think that is well coded, i continue to implement the rest of
service manager functionnality

code to use it :

var fb = require('node-firebird');

var _connection = {
    user : 'SYSDBA',
    password : 'masterkey',
    host : '127.0.0.1',
    port : 3050,
    database : '/DB/MYDB.FDB',
    manager : true
}

fb.attach(_connection, function(err, svc) { 
    if (err)
        return;
    svc.backup(
        {
            database:'/DB/MYDB.FDB',
            files: [
                    {
                     filename:'/DB/MYDB.FBK', 
                     sizefile:'0'
                    }
                   ]
        }, 
        function(err, data) {
            console.log(data);
        });
});
Add Service manager functions
just a test case, if contributors of node-firebird could comment the
code it could be fine.
if they think that is well coded, i continue to implement the rest of
service manager functionnality

mariuz added a commit that referenced this pull request Feb 27, 2015

Merge pull request #56 from sdnetwork/master
Add Service manager functions

@mariuz mariuz merged commit a73482f into hgourvest:master Feb 27, 2015

@mariuz

This comment has been minimized.

Collaborator

mariuz commented Feb 27, 2015

Looks fine and clean 👍 , now is merged

@sdnetwork

This comment has been minimized.

Contributor

sdnetwork commented Feb 27, 2015

thanks i continue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment