I'm using simple code to test sequentially in Firebird lib "node-firebird". It always gives me back 1 row, but should be a lot of them.
exports.sequentially = (select, db_con_options) => {
Firebird.attach(db_con_options, (err, db) => {
if (err)
console.log(err);
db.sequentially(select, function(row, index) {
console.log(row);
}, function(err) {
console.log(err);
db.detach();
});
});}
I found example even here on Stack Overflow and it looks like the same. Any suggestions? How does it work?