->merge()
Modifies all records in a table, or a specific record, in the database.
Note
Arguments
| Arguments | Type | Description |
|---|---|---|
thing
|
string, RecordId or StringRecordId
|
The table name or the specific RecordId to merge.
|
data
|
mixed
| The document / record data to merge. |
Example usage
Translated query
This function will run the following query in the database.