.Insert<T>()
Inserts one or multiple records in the database.
Arguments
| Arguments | Description |
|---|---|
table
| Optionally pass along a table to insert into. |
data
| Either a single document/record or an array of documents/records to insert |
cancellationToken
| The cancellationToken enables graceful cancellation of asynchronous operations. |