Skip to main content

has

Addedv0.1.x

This operation checks if a partition exists.

Synopsis

zilliz partition has
--collection <value>
--partition <value>
[--database <value>]
[--output <json | table | text | yaml | csv>]
[--no-header]
[--query <value>]

Options

  • --collection (string) -

    [REQUIRED]

    Indicates the collection name.

  • --partition (string) -

    [REQUIRED]

    Indicates the partition name.

  • --database (string) -

    Indicates the database name.

  • --output, -o (string) -

    Indicates the output format. Choices: 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.

Example

zilliz partition has --collection my_collection --partition my_partition