data.rawUpdate

data.rawUpdate

This method offers alternative signatures:

data.rawUpdate(updateObject, id, [success], [error])

Signature

data.rawUpdate(updateObject, id, [success], [error])

Description

Updates an object by ID with the specified update expression.

Parameters

Parameter Name Type Description
updateObject object Updated object that contains the new values.
id string The ID of the item.
[success] function A success callback.
[error] function An error callback.


data.rawUpdate(updateObject, filter)

Signature

data.rawUpdate(updateObject, filter)

Description

Updates all objects that match a filter with the specified update expression.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
updateObject object Update object that contains the new values.
filter object / null A filter expression definition.


data.rawUpdate

This method offers alternative signatures:

data.rawUpdate(updateObject, filter, [success], [error])

Signature

data.rawUpdate(updateObject, filter, [success], [error])

Description

Updates all objects that match a filter with the specified update expression.

Parameters

Parameter Name Type Description
updateObject object Update object that contains the new values.
filter object / null A filter expression definition.
[success] function A success callback.
[error] function An error callback.


data.rawUpdate(updatedObject, id)

Signature

data.rawUpdate(updatedObject, id)

Description

Updates an object by ID with the specified update expression.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
updatedObject object Updated object that contains the new values.
id string The ID of the item.


Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.