Any way to chain two mongodb connections?

Viewed 14

Long shot I know, but I wonder if someone has written a mongodb driver that does the following.

Given two mongodb connections A and B (A local, B remote), I'd like to have a connection C that will go to A every time a collection exists in A, otherwise to B.

Basically, what I need is a reverse mongodb proxy.

This is to test an application that's supposed to write into a large database to which I don't have write access. Making a local copy of the entire database is not possible.

0 Answers
Related