Basically, you could, but since Meteor uses Fibers, you have to wrap up calls. I had to transfer some data sqlite3in the past and use Fiber to handle processed db calls. There was something like this
var Fiber = Npm.require('fibers');
db.method('query', function(){
Fiber(function(){
}).run();
});
Or around the same idea, I would have to check the code to be sure, but it was around these lines.
source
share