Genie.jl icon indicating copy to clipboard operation
Genie.jl copied to clipboard

Genie official MongoDB support

Open sasogeek opened this issue 4 years ago • 8 comments

I'm trying to use MongoDB but struggling to connect to Atlas with the Mongoc.jl package. Is there an ETA on when there will be an official support/package of MongoDB for Genie?

sasogeek avatar Sep 28 '20 18:09 sasogeek

I'm afraid there is no ETA on this :-/

essenciary avatar Sep 29 '20 19:09 essenciary

I think we can address this with a guide.

essenciary avatar Nov 24 '20 13:11 essenciary

I am also expecting the guide. Is there anything I can help?

jacobxk avatar Jul 15 '21 18:07 jacobxk

I'm not sure there is need or value for tighter Genie and Mongo integration. Any Mongo package should just work by simply adding it to any Genie app. Where do you see the value? What have you tried and what issues have you encountered?

essenciary avatar Jul 17 '21 10:07 essenciary

I'm not sure there is need or value for tighter Genie and Mongo integration. Any Mongo package should just work by simply adding it to any Genie app. Where do you see the value? What have you tried and what issues have you encountered?

IMO it'd be great to have a quick example on where it's best to initialize the client and set up a pool, and then how to retrieve it anytime in routes.jl there's the need to reach the db..

manentai avatar Nov 18 '23 17:11 manentai

Yes, we can do that. Are you up to date with the state of Mongo support in Julia? Last time I checked it wasn't working due to BSON.jl issues.

essenciary avatar Nov 20 '23 13:11 essenciary

no unfortunately I am not up to date on that... all I know is that the Mongoc.jl is working good, and I can connect, query, insert and delete records without problems... see here

manentai avatar Nov 20 '23 14:11 manentai

Ah ok - if it works then it's good news.

essenciary avatar Nov 20 '23 14:11 essenciary