Will join feature be integrated on osmos ? #6

Open
Unitech opened this Issue Dec 18, 2013 · 1 comment

Projects

None yet

2 participants

@Unitech
Unitech commented Dec 18, 2013

Hello,

I just went through RethinkDB, it's a god damn nice database. Easy clustering, easy sharding and also the join like feature. I would like to know if this "join feature" will be implemented on osmos ?

Something like Mongoose driver with the .populate method : http://mongoosejs.com/docs/populate.html would be awesome, or maybe there is a better alternative (:

Thanks for your work !

@mtabini
Contributor
mtabini commented Dec 19, 2013

Hey, thanks for the kind words.

I've been thinking about a good way to handle joins (which are also a problem in MySQL, although at least there we have views), and in particular I was curious to see if there was a way to throw relationship mapping in the mix—you know, just for fun :-)

I don't have any specific plans right now, but I'm leaning in the direction of teaching Osmos to understand the concept of mapping—not entirely unlike Mongoose's populate(), but with a slightly more generic slant that allows you build a “super-object” that is transparently made up of multiple documents written to separate parts of the database (or even to multiple databases) based on a set of rules.

As you can imagine, that's going to take some work, so I don't have a specific timeline just yet, but I'm thinking about it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment