📅  最后修改于: 2022-03-11 15:03:39.193000             🧑  作者: Mango
Firebird.attach(options, function(err, db) { if (err) throw err; // db = DATABASE db.sequentially('SELECT * FROM BIGTABLE', function(row, index) { // EXAMPLE stream.write(JSON.stringify(row)); }, function(err) { // END // IMPORTANT: close the connection db.detach(); });});