pop icon indicating copy to clipboard operation
pop copied to clipboard

Possibly crazy: support for non-SQL datastores?

Open arschles opened this issue 7 years ago • 7 comments

Pop is a rad package for CRUD on relational databases. Would there be any interest in expanding its scope to non-relational stores? I'm especially interested in MongoDB/CosmosDB and Google Cloud Datastore.

Happy to go over my rationale in more detail, just wanted to float the idea first.

And my feelings won't be hurt if you tell me to get lost if I'm way off here! 😄

arschles avatar Feb 28 '18 04:02 arschles

You’re not the first to ask. :) The answer is absolutely, provided that someone writes support for it. :) A pr to add support for any of them would be great.

markbates avatar Feb 28 '18 12:02 markbates

Can this be achieved by adding an implementation for the dialect interface?

I guess with NoSQL db's the fizz/translator methods won't need to be implementated.

pieterlouw avatar Mar 20 '18 11:03 pieterlouw

Just my two cents here: Pop is deeply SQL oriented (most of the code handle SQL matters), so in my opinion, introducing NoSQL here is not the best idea. We'll loose most of Pop features. How about having another package for that? :)

stanislas-m avatar Mar 20 '18 12:03 stanislas-m

@stanislas-m : Good point. The new package name could be pop_diet :)

pieterlouw avatar Mar 20 '18 14:03 pieterlouw

Honestly, I'm all for seeing what happens when someone tries to add something like Mongo to it. I'm sure a lot of stuff would be no-ops, but it would be interesting to see. I'm not the person to add it though.

markbates avatar Mar 20 '18 15:03 markbates

sorry - I haven't gotten to this yet. there are quite a few other things on my plate, but I'd like to try it out sometime in the near future...

arschles avatar Mar 20 '18 19:03 arschles

I have to say, I'm really curious about adding this capability. I may circle back to this. I have a project that I believe could benefit from this. Of course the problem is timing. I am going to see if somehow, I could work this into the overall planning of the project.

h2ouw8n4 avatar Oct 16 '19 01:10 h2ouw8n4