Yap, inilah cuplikan kode cara mengikat koleksi ke URL MongoDB yang berbeda:
var db = new MongoInternals.RemoteCollectionDriver("<ONE OF YOUR DBS>");
MyCollection = new Mongo.Collection("<YOUR COLLECTION>", { _driver: db });
Yap, inilah cuplikan kode cara mengikat koleksi ke URL MongoDB yang berbeda:
var db = new MongoInternals.RemoteCollectionDriver("<ONE OF YOUR DBS>");
MyCollection = new Mongo.Collection("<YOUR COLLECTION>", { _driver: db });