AddData¶
Appends a new row to the specified target table and returns the inserted row as a DataRow object.
1 | |
Adds a new row to the specified target table in the target data store and returns the inserted row as an object.
1 | |
Parameters¶
string schema
The name of the target schema.
string table
The name of the target table.
object input
A JavaScript object containing the column values for the new row.
string store
The name or ID of the target data store. This overload requires it.
Returns¶
A DataRow object representing the newly inserted row.
Remarks¶
The row is saved immediately. Properties are matched to columns by name, case-insensitively; properties without a matching column are ignored.
Examples¶
Insert a row¶
1 2 3 4 5 6 | |
Insert a row into a specific data store¶
1 2 3 4 | |