zoho@0.2.2
Functions
- execute(operations) ⇒
Operation
Execute a sequence of operations. Wraps
@openfn/language-common/execute
, and prepends initial state for zoho.- addRow(db, table, rowData) ⇒
Operation
To add a row data to a database table
execute(operations) ⇒ Operation
Execute a sequence of operations.
Wraps @openfn/language-common/execute
, and prepends initial state for zoho.
Kind: global function
Param | Type | Description |
---|---|---|
operations | Operations | Operations to be performed. |
Example
execute(
create('foo'),
delete('bar')
)(state)
addRow(db, table, rowData) ⇒ Operation
To add a row data to a database table
Kind: global function
Param | Type | Description |
---|---|---|
db | string | Database |
table | string | Database table |
rowData | object | row data to be added into the database |
Example
addRow(
'testing_openfn',
'Customers',
fields(field('Subject', dataValue('formId')), field('Status', 'Closed'))
);