mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Update meteor.d.ts
collection.remove returns the number of removed items, just like update/upsert etc., see http://docs.meteor.com/#/full/remove
This commit is contained in:
2
meteor/meteor.d.ts
vendored
2
meteor/meteor.d.ts
vendored
@@ -616,7 +616,7 @@ declare module Mongo {
|
||||
insert(doc: T, callback?: Function): string;
|
||||
rawCollection(): any;
|
||||
rawDatabase(): any;
|
||||
remove(selector: Mongo.Selector | Mongo.ObjectID | string, callback?: Function): void;
|
||||
remove(selector: Mongo.Selector | Mongo.ObjectID | string, callback?: Function): number;
|
||||
update(selector: Mongo.Selector | Mongo.ObjectID | string, modifier: Mongo.Modifier, options?: {
|
||||
multi?: boolean;
|
||||
upsert?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user