Inserts one or more relation records into a table. This is a convenience wrapper that runs INSERT RELATION INTO <table> <data_json>;.
Arguments
| Argument | Description |
|---|---|
table | The relation table to insert into. |
data_json | A single relation or an array of relations, as a JSON string. Each carries an in and an out record. |
session | An optional session id. |
txn | An optional transaction id. |