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