Warning: creating anonymous collection. It will not be saved or synchronized over the network. (Pass null for the collection name to turn off this warning.)
My Schema
export default new SimpleSchema({
refNo: { // getNextSeq(...) function with Meteor.wrapAsync
type: String,
},
name: {
type: String,
},
memo: {
type: String,
optional: true,
},
})
You will get this kind of warning when you define some database collection like this: const SomeCollection = new Mongo.Collection();
To get rid of this warning, you add null as param: const SomeCollection = new Mongo.Collection(null);
This collection will be available on client side only.