Zheaoli commented on issue #3291:
URL: 
https://github.com/apache/incubator-opendal/issues/3291#issuecomment-1764375575

   > > I think there should be two kinds of storage for Mongo.
   > 
   > How about keeping them in the same service and switch via configuration? 
We can start with simple BinData first.
   
   I think maybe we need to assume GridFS is a new, unique service just based 
on Mongo
   
   ```python
   from pymongo import MongoClient
   from gridfs import GridFS
   
   db = MongoClient().mydatabase
   fs = GridFS(db)
   
   with open("my_large_file.txt", "rb") as f:
       file_id = fs.put(f, filename="my_large_file.txt")
   ```
   
   Different use way and different dependency


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to