Files
meteor/packages
Eric Dobbertin 2ddf14575a Allow new Mongo.Collection to be called multiple times for the same collection name
- No error is thrown when constructing a Mongo.Collection twice for the same name if _suppressSameNameError option is true
- If mutation methods were already created for a named collection, we skip them and do not throw an error
- Mongo.Collection constructor takes a new option, defineMutationMethods, which can be set to false to skip creating the default mutation methods
- _defineMutationMethods function performance is slightly improved by returning earlier if there is no need to loop through method types
2016-05-17 09:59:41 -05:00
..
2016-04-18 04:16:04 -07:00
2016-05-03 14:12:55 -07:00
2016-05-11 10:21:20 +03:00