Hacker News new | ask | show | jobs
ObjectIdColumns: Transparently Store MongoDB BSON IDs in a RDBMS (swiftype.com)
6 points by geweke 4497 days ago
2 comments

We do the exact same thing at Buildy, but in Python. Here's the class:

https://gist.github.com/irskep/9099262

Nice, Steve! Always good to see validation of the idea in both directions. :)
As we gradually migrate data from MongoDB to MySQL, this code has been hugely helpful. It is making the transition as smooth and efficient as possible. I hope others can get some value out of the gem as well.