Qorus Integration Engine®  4.0.3_git
com.qoretechnologies.qorus.test.InsertDbTableRows Class Reference

Inserts one or more rows into DB table. More...

Inheritance diagram for com.qoretechnologies.qorus.test.InsertDbTableRows:
com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 InsertDbTableRows (String dsname, String tableName, Map< String, Object >[] rows) throws Throwable
 Creates the object according to the arguments. More...
 
Object run (QorusInterfaceTest t) throws Throwable
 runs the test by inserting data into the database More...
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

Inserts one or more rows into DB table.

Constructor & Destructor Documentation

◆ InsertDbTableRows()

com.qoretechnologies.qorus.test.InsertDbTableRows.InsertDbTableRows ( String  dsname,
String  tableName,
Map< String, Object > []  rows 
) throws Throwable
inline

Creates the object according to the arguments.

Parameters
dsnamename of the datasource
tableNamea table name
rowsa list of hashes representing row data to insert; keys are column names; values are literal values passed to SqlUtil::AbstractTable::insert()

Member Function Documentation

◆ run()

Object com.qoretechnologies.qorus.test.InsertDbTableRows.run ( QorusInterfaceTest  t) throws Throwable
inline

runs the test by inserting data into the database

Parameters
tQorusInterfaceTest test object

checks whether the rows were inserted


The documentation for this class was generated from the following file: