atlas_sdk icon indicating copy to clipboard operation
atlas_sdk copied to clipboard

GridFS

Open erfanium opened this issue 3 years ago • 4 comments

I think gridfs support also can be implemented in this sdk.

erfanium avatar Apr 19 '22 20:04 erfanium

Haven't used GridFS before. Do you have any doc links? I might give a try to implement it.

arthur-ver avatar Jul 23 '22 14:07 arthur-ver

@arthur-ver you can see x/mongo gridfs implementation from here https://github.com/denodrivers/deno_mongo/tree/main/src/gridfs

big files can be chunked into multiple documents via gridfs, so we can store them in MongoDB. but i'm not sure is it possible via Atlas data api or not

erfanium avatar Jul 23 '22 14:07 erfanium

Bildschirmfoto 2022-07-23 um 16 35 21

According to MongoDB docs it requires a MongoDB driver, hence I'm not sure if it's possible via the Data API

arthur-ver avatar Jul 23 '22 14:07 arthur-ver

the current implementation of GridFS in x/mongo doesn't do any fancy mongodb driver stuff

it should be very simple to support gridfs in atlas_sdk as it's just more of a collection of helper functions

lucsoft avatar Oct 04 '22 12:10 lucsoft