Overview
Appends a new row on specified target table and returns inserted row as object.DataRow my$Database.AddData(schema: string, table: string, input: object)
DataRow my$Database.AddData(store: string, schema: string, table: string, input: object)
Arguments
string schema
Name of target schema
string table
Name of target table
object input
Input javascript object.
string store
Name or Id number of target data store. This parameter is optional.
Example
$Database.AddData('MySchema', 'MyTable', { Id : $Xml.Evaluate('Id'), Name : $Xml.Evaluate('Name'), State : 'W' });
Examples
$Database.AddData('MySchema', 'MyTable', { Id : $Xml.Evaluate('Id'), Name : $Xml.Evaluate('Name'), State : 'W' });