Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UpdateQuery

Index

Constructors

constructor

Properties

$addToSet

$addToSet: any = ...

$push

$push: any = ...

$set

$set: any = ...

$slice

$slice: any = ...

$unset

$unset: any = ...

Methods

addToSet

  • addToSet(propertyOrObject: string | object, value?: any): UpdateQuery

Private addValue

  • addValue(place: "$set" | "$unset" | "$addToSet" | "$push" | "$slice", propertyOrObject: string | object, value?: any): void
  • Parameters

    • place: "$set" | "$unset" | "$addToSet" | "$push" | "$slice"
    • propertyOrObject: string | object
    • Optional value: any

    Returns void

getInsertDocument

  • getInsertDocument(): any

getUpdateQuery

  • getUpdateQuery(): any

push

  • push(propertyOrObject: string | object, value?: any): UpdateQuery

set

  • set(propertyOrObject: string | object, value?: any): UpdateQuery

slice

  • slice(propertyOrObject: string | object, value?: any): UpdateQuery

unset

  • unset(propertyOrObject: string | object, value?: any): UpdateQuery

Generated using TypeDoc