Interface IMeteorCollection

Collections *

Index

Methods

Methods

public ObjectID(hexString?: string): Object

Parameters

  • hexString?: string optional

Returns

Object

public allow(options: Object): boolean

Parameters

  • options: Object

Returns

boolean

public deny(options: Object): boolean

Parameters

  • options: Object

Returns

boolean

public find(selector?: any, options?: Object): IMeteorCursor

Parameters

  • selector?: any optional
  • options?: Object optional

Returns

IMeteorCursor

public findOne(selector: any, options?: Object): any

Parameters

  • selector: any
  • options?: Object optional

Returns

any

public insert(doc: Object, callback?: Function): string

Parameters

  • doc: Object
  • callback?: Function optional

Returns

string

public remove(selector: any, callback?: Function)

Parameters

  • selector: any
  • callback?: Function optional

public update(selector: any, modifier: any, options?: Object, callback?: Function)

Parameters

  • selector: any
  • modifier: any
  • options?: Object optional
  • callback?: Function optional