Skip to main content

drop

Addedv0.1.x

This operation drops a collection. This action is irreversible.

Synopsis

zilliz collection drop
--name <value>
[--database <value>]
[--output <json | table | text | yaml | csv>]
[--no-header]
[--query <value>]
[--yes]

Options

  • --name (string) -

    [REQUIRED]

    Indicates the collection name to drop.

  • --database (string) -

    Indicates the database name.

    If a cluster is configured using zilliz context set, the database it belongs automatically applies if this option is left unconfigured.

  • --output, -o (string) -

    Indicates the output format. Possible values:

    • json,

    • table,

    • text,

    • yaml,

    • csv.

  • --no-header (boolean) -

    Indicates whether to omit the header row when the output is set to table or csv.

  • --query, -q (string) -

    Indicates a JMESPath expression to filter output.

  • --yes, -y (boolean) -

    Indicates whether to skip the confirmation prompt.

Example

zilliz collection drop --name my_collection