Available options to for a :class:`~couchbase.management.queries.QueryIndexManager`'s drop index operation. .. note:: All management options should be imported from `couchbase.management.options`. Args: collection_name (str, optional): **DEPRECATED** - use :class:`~cou
| 654 | |
| 655 | |
| 656 | class DropQueryIndexOptions(dict): |
| 657 | """Available options to for a :class:`~couchbase.management.queries.QueryIndexManager`'s drop |
| 658 | index operation. |
| 659 | |
| 660 | .. note:: |
| 661 | All management options should be imported from `couchbase.management.options`. |
| 662 | |
| 663 | Args: |
| 664 | collection_name (str, optional): **DEPRECATED** - use :class:`~couchbase.management.queries.CollectionQueryIndexManager`. |
| 665 | Specifies the collection of the index. |
| 666 | ignore_if_not_exists (bool, optional): Whether or not the call should ignore the |
| 667 | index not existing when determining whether the call was successful. |
| 668 | scope_name (str, optional): **DEPRECATED** - use :class:`~couchbase.management.queries.CollectionQueryIndexManager`. |
| 669 | Specifies the scope of the index. |
| 670 | timeout (timedelta, optional): The timeout for this operation. Defaults to global |
| 671 | management operation timeout. |
| 672 | parent_span (:class:`~couchbase.observability.tracing.RequestTracer`, optional): The parent span for this operation. |
| 673 | """ # noqa: E501 |
| 674 | @overload |
| 675 | def __init__(self, |
| 676 | ignore_if_not_exists: Optional[bool] = None, |
| 677 | timeout: Optional[timedelta] = None, |
| 678 | scope_name: Optional[str] = None, |
| 679 | collection_name: Optional[str] = None, |
| 680 | parent_span: Optional[RequestSpan] = None |
| 681 | ) -> None: |
| 682 | ... |
| 683 | |
| 684 | def __init__(self, **kwargs: Any) -> None: |
| 685 | kwargs = {k: v for k, v in kwargs.items() if v is not None} |
| 686 | super().__init__(**kwargs) |
| 687 | |
| 688 | |
| 689 | class DropPrimaryQueryIndexOptions(dict): |
no outgoing calls