Open ChrisCates opened 8 years ago
This would be really cool, though I'd like to wait until changefeeds on eqJoins are added in RethinkDB 2.4. (see rethinkdb/rethinkdb#3997). Once they're in the server it'll be very fast in Horizon
Is this still in plans? Any idea when rdb2.4 and related horizon goodies will be released :)?
Any good temporary solutions? Best I could come up with:
Watch data from 2 collections and let middleware re-combine data from both whenever 1 updates.
Unfortunately changefeeds on joins have been pushed into RethinkDB 2.5. We decided to implement changefeeds on reductions in RethinkDB 2.4 first instead. RethinkDB 2.5 is probably about 5-6 months away.
Wondering if we could at minimum support
.eqJoin()
. I'm thinking of a cascading syntax for.find()
and.findAll()
something like
.find(table1).join(table1Id)
I think this tackles one to one, one to many and many to many associations :)