3 ms·
By chaining calls I can just drop in anything that has the correct interface. For example, if I wrote a "to_stdout" function I'd need to modify replicate() in o
by onion2k 10y ago
By chaining calls I can just drop in anything that has the correct interface. For example, if I wrote a "to_stdout" function I'd need to modify replicate() in order to use it. This way I can do;
db.replicate.to_stdout('http://example.com/mydb');