4 ms·
I would like some community feedback on this. I have been attempting to try Elixir and Phoenix and did with some small projects. However, when it comes to db, t
by p2hari 3y ago
I would like some community feedback on this. I have been attempting to try Elixir and Phoenix and did with some small projects. However, when it comes to db, that is where I found it challenging. Ecto supports SqL and Absinthe provides graphql. However, if I want to roll out some of my own with Surreal, edgeDb and Mongodb, Neo4j or something else. I am forced to eject out ecto. I am fine with that, but how do we support other Dbs easily as Ecto or Absinthe. Are there any libraries I am missing? Has anyone tried with other options. I saw somebody mentioned mnesia. It can be an abstraction maybe .
- sb8244 3y agoMongo appears to have a decent driver for it. I'd lean to that if i were looking for an alternative to SQL. You shouldn't have any issues integrating it into Absinthe, because it doesn't have any ecto bindings out of the box. (There's a helper library, but even that is fairly small.) I have heard of people using mnesia, but it's not really that common. I'd personally avoid it unless I had a good reason not to.