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
컬렉션이 서버에 있는지도 확인해야합니다. 각 컬렉션에 플래그를 연결하는 것 외에는 다른 방법으로 확인할 수 있습니까?