Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js firebird example

const config = {...}; // Classic configuration with manager = trueconst RESTORE_OPTS = {    database: 'database.fdb',    files: ['backup.fbk']}; Firebird.attach(config, (err, srv) => {    srv.restore(RESTORE_OPTS, (err, data) => {        data.on('data', () => {});        data.on('end', () =>            srv.detach();        });    });});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #node #js #firebird
ADD COMMENT
Topic
Name
1+8 =