mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge branch 'devel' into release-1.6.1
This commit is contained in:
@@ -26,9 +26,6 @@ The default id generation technique is `'STRING'`.
|
||||
*/
|
||||
Mongo.Collection = class Collection {
|
||||
constructor(name, options) {
|
||||
if (! (this instanceof Mongo.Collection))
|
||||
throw new Error('use "new" to construct a Mongo.Collection');
|
||||
|
||||
if (!name && (name !== null)) {
|
||||
Meteor._debug("Warning: creating anonymous collection. It will not be " +
|
||||
"saved or synchronized over the network. (Pass null for " +
|
||||
|
||||
Reference in New Issue
Block a user