data.update

This method offers alternative signatures:

data.update(model, filter, [success], [error])

Signature

data.update(model, filter, [success], [error])

Description

Updates all items that match the filter with the specified update object.

Parameters

Parameter Name Type Description
model object The update object.
filter object / null A filter expression definition.
[success] function A success callback.
[error] function An error callback.


data.update(updateObject, filter)

Signature

data.update(updateObject, filter)

Description

Updates all items that match a filter with the specified update object.

Return Type

Promise - The promise for the request.

Parameters

Parameter Name Type Description
updateObject object The update object.
filter object / null A filter expression definition.


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.