updateBy
Last updated
Last updated
Updates the record from a specified field in a dataset.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Description | Output Type |
---|---|
The function to be executed if the specified records are updated successfully.
The function to be executed if the specified records are not updated successfully.
Coming Soon.
The user wants to update the code from E1234567 to E1234 in dataset "l_item".
Call the function "updateBy".
Specify the parameters:
Set toObject function to data and define the value of object.
( Before update, the code is E1234567 )
( After update, the code changed to E1234 )
dataset
The name of the local table to update the record from.
String/Text
-
-
Yes
by
The name of the field to update the record from.
String/Text
-
-
Yes
operator
The operator to use to determine the record to update.
String/Text
=
=, >, <, >=, <=, !=, like, ilike
No
value
The record to be updated from the local table.
String/Text
-
-
Yes
data
The data to update the record with.
Object
-
-
Yes
first?
?
String/Text
-
-
No
extra
Extra parameters stored and passed to callback.
Any
-
-
No
Returns the updated list of records from the local table.
Array/List
dataset
l_item
by
code
operator
=
value
E1234567
data
toObject
code
E1234