Skip to main content

zoho@0.2.0

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

ParamTypeDescription
operationsOperationsOperations 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

ParamTypeDescription
dbstringDatabase
tablestringDatabase table
rowDataobjectrow data to be added into the database

Example

addRow(
'testing_openfn',
'Customers',
fields(field('Subject', dataValue('formId')), field('Status', 'Closed'))
);