FieldOpType

Enum alias for field-level partial-update operation types.

Examples

Compares an operation message with the exported enum value.

from pymilvus import FieldOp, FieldOpType

op = FieldOp.array_append()
assert op.op == FieldOpType.ARRAY_APPEND

Notes

  • REPLACE replaces the current field value.

  • ARRAY_APPEND appends incoming elements to the current array.

  • ARRAY_REMOVE removes every matching incoming element from the current array.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?