1
在我的應用程序中,我有一個對象,其字段是Meteor.Collections,其中一些尚未保存在服務器上。例如:如何檢查Meteor.Collection是否同步?
var tables = {};
tables["existent"] = new Meteor.Collection("existent"); // existent on server
tables["nonexistent"] = new Meteor.Collection(null); // nonexistent on server
我需要檢查集合是否也存在於服務器上。有沒有其他的方法來檢查,除了附加一些標誌,每個集合?