Open Aeonrush opened 8 years ago
this is really helpful for me :) thanks
Thanks, @Aeonrush! It's useful. Nevertheless, default fs.chunks and fs.files are created (with zero documents inside).
It should be better to specify the collection only once, that would make the work much easier. Instead of that, I'm writing wrappers to specify the same thing for every database operation.
Thanks, very helpful.
There is something very mysterious going on here
gfs.createWriteStream
Even if I put this line
gfs.collection('fs.art')
, I still have to write thisbut this is reflected here and doesn't looks like a trouble
gfs.files
gfs.exist
Even if I put this line
gfs.collection('fs.art')
, I still have to write thisgfs.remove
Even if I put this line
gfs.collection('fs.art')
, I still have to write thisgfs.findOne and gfs.createReadStream
Works fine with
gfs.collection('fs.art')