delete
此操作按过滤表达式删除 Entity。
说明
Zilliz Cloud 提供了一组实用的过滤运算符,帮助您构建满足需求的过滤表达式。有关详细信息,请参阅 过滤概述 及相关页面。
概要
bash
zilliz vector delete
--collection <value>
--filter <value>
[--partition <value>]
[--database <value>]
[--output <json | table | text | yaml | csv>]
[--no-header]
[--query <value>]
[--yes]
选项
-
--collection (string) -
[必需]
表示 Collection 名称。
-
--filter (string) -
[必需]
表示要删除的 Entity 的过滤表达式。
-
--partition (string) -
表示 Partition 名称。
-
--database (string) -
表示 Database 名称。
-
--output, -o (string) -
表示输出格式。可能的值包括:
-
json, -
table, -
text, -
yaml, -
csv。
-
-
--no-header (boolean) -
表示当输出设置为
table或csv时,是否省略标题行。 -
--query, -q (string) -
表示用于过滤输出的 JMESPath 表达式。
-
--yes, -y (boolean) -
表示是否跳过确认提示。
示例
bash
zilliz vector delete --collection my_col --filter 'id in [1, 2, 3]'