MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / DropQueryIndexOptions

Class DropQueryIndexOptions

couchbase/management/options.py:656–686  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

654
655
656class 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
689class DropPrimaryQueryIndexOptions(dict):

Calls

no outgoing calls