.Import()
Imports data into a SurrealDB database.
To use this method, you need to be connected to a SurrealDB instance that is version >= 2.0.0.
Arguments
| Arguments | Description |
|---|---|
input
| The SurrealQL script used to import data in the database. |
cancellationToken
| The cancellationToken enables graceful cancellation of asynchronous operations. |