Open rudolf-bauer opened 4 years ago
If I want to remove an existing file in gridFS, I can use mb$remove. However, the documentation is wrong. It says:
mb$remove
Same for download() and remove(): # Remove a file by id mb$remove(id)
# Remove a file by id
mb$remove(id)
https://jeroen.github.io/mongolite/gridfs.html
According to the code, it removes by name: https://github.com/jeroen/mongolite/blob/master/R/gridfs.R#L132
name
This confused me too. More examples in the documentation would be great!
If I want to remove an existing file in gridFS, I can use
mb$remove
. However, the documentation is wrong. It says:https://jeroen.github.io/mongolite/gridfs.html
According to the code, it removes by
name
: https://github.com/jeroen/mongolite/blob/master/R/gridfs.R#L132