Skip to content
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
Merged

Add Service manager functions #56

merged 1 commit into from Feb 27, 2015

Conversation

@sdnetwork
Copy link
Contributor

@sdnetwork 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);
        });
});
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
Add Service manager functions
@mariuz mariuz merged commit a73482f into hgourvest:master Feb 27, 2015
@mariuz
Copy link
Collaborator

@mariuz mariuz commented Feb 27, 2015

Looks fine and clean 👍 , now is merged

@sdnetwork
Copy link
Contributor Author

@sdnetwork 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
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants