(No version information available, might only be in Git)
Collection::dropIndex — Drop collection index
$index_name
)Drop an index with the given name. Silently succeeds if the index does not exist (no error or warning raised). To confirm the drop has been executed the user should check the boolean return type.
index_name
The name of the index that has to be dropped.
The functions return a boolean value, true if the drop has succeed and false in the other case.
Example #1 mysql_xdevapi\Collection::dropIndex() example
<?php
/* ... */
?>