DropSearchIndex
in package
FinalYes
Operation for the dropSearchIndexes command.
Tags
Table of Contents
Constants
Properties
- $collectionName : string
- $databaseName : string
- $name : string
- $options : array<string|int, mixed>
Methods
- __construct() : mixed
- Constructs a dropSearchIndex command.
- execute() : void
- Execute the operation.
Constants
ERROR_CODE_NAMESPACE_NOT_FOUND
private
mixed
ERROR_CODE_NAMESPACE_NOT_FOUND
= 26
Properties
$collectionName
private
string
$collectionName
$databaseName
private
string
$databaseName
$name
private
string
$name
$options
private
array<string|int, mixed>
$options
= []
Methods
__construct()
Constructs a dropSearchIndex command.
public
__construct(string $databaseName, string $collectionName, string $name[, array{comment?: mixed} $options = [] ]) : mixed
Parameters
- $databaseName : string
-
Database name
- $collectionName : string
-
Collection name
- $name : string
-
Index name
- $options : array{comment?: mixed} = []
-
Command options
Tags
execute()
Execute the operation.
public
execute(Server $server) : void
Parameters
- $server : Server