Upserts (ie performs an SQL merge operation) one or more rows into a remote table in a remote Qorus instance.
More...
|
| constructor (string remote, string dsname, string tableName, softlist< auto > rows, *hash< auto > opts) |
| Creates the object according to the arguments. More...
|
|
| constructor (string action, string remote, string dsname, softlist< auto > data, *hash< auto > opts) |
| Creates the object according to the arguments. More...
|
|
| run (QorusInterfaceTest t) |
| runs the test by streaming the input data to the remote database More...
|
|
| constructor (string action, string remote, string dsname, *hash< auto > opts) |
| Creates the object according to the arguments. More...
|
|
| constructor () |
| creates the object
|
|
abstract auto | run (QorusInterfaceTest t) |
| runs the test More...
|
|
|
list< auto > | m_data |
| list of hashes of table names + data; keys in each hash: "table" , "data"
|
|
string | m_action |
| the sqlutil method or stream name
|
|
string | m_remote |
| the remote connection name
|
|
string | m_ds |
| the name of the remote datasource
|
|
*hash< auto > | m_opts |
| stream options
|
|
Upserts (ie performs an SQL merge operation) one or more rows into a remote table in a remote Qorus instance.
◆ constructor()
QorusInterfaceTest::UpsertRemoteDbTableRows::constructor |
( |
string |
remote, |
|
|
string |
dsname, |
|
|
string |
tableName, |
|
|
softlist< auto > |
rows, |
|
|
*hash< auto > |
opts |
|
) |
| |
Creates the object according to the arguments.
- Parameters
-
remote | the name of the remote connection |
dsname | name of the datasource |
tableName | a table name |
rows | a list of hashes representing row data to upsert; keys are column names; values are literal values passed to SqlUtil::AbstractTable::upsert() |
opts | stream options |
The documentation for this class was generated from the following file: