Skip to content

$Database.AddData

Overview

object $Database.AddData ( [dataStore], schema, table, column, value )

Appends a new row on specified target table and returns inserted row as object.

Arguments

String dataStore Name or Id number of target data store. This parameter is optional.

String schema Name of target schema

String table Name of target table

Object input Input javascript object.

Remarks

Examples

$Database.AddData('MySchema','MyTable', {
    Id : $Xml.Evaluate('Id'),
    Name : $Xml.Evaluate('Name'),
    State : 'W'
});

See Also