Method DropAllAsync
DropAllAsync(DropIndexOptions, CancellationToken)
Drops all the indexes.
Parameters
options
DropIndex Options The options.
cancellationToken
CancellationToken The cancellation token.
Returns
- Task
A task.
DropAllAsync(CancellationToken)
Drops all the indexes.
Parameters
cancellationToken
CancellationToken The cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, CancellationToken)
Drops all the indexes.
Parameters
session
IClientSession Handle The session.
cancellationToken
CancellationToken The cancellation token.
Returns
- Task
A task.
DropAllAsync(IClientSessionHandle, DropIndexOptions, CancellationToken)
Drops all the indexes.
Task DropAllAsync(IClientSessionHandle session, DropIndexOptions options, CancellationToken cancellationToken = default)
Parameters
session
IClientSession Handle The session.
options
DropIndex Options The options.
cancellationToken
CancellationToken The cancellation token.
Returns
- Task
A task.