dropIndex method
Returns a DropIndexResponse object for the index dropped at the given indexName
.
indexName
is a String representing the index name to drop
options
is a CallOptions
object that can be used to set additional options for the RPC request.
Throws an Exception if an error occurs during the RPC request.
Implementation
Future<DropIndexResponse> dropIndex({
required String indexName,
CallOptions? options,
}) async {
final request = DropIndexRequest(
indexName: indexName,
);
final DropIndexResponse response = await genusTransactionStub.dropIndex(
request,
options: options,
);
return response;
}