RowPolicyAction

This enum specifies the operation to which a row-level security policy applies.

pub enum RowPolicyAction {
    Query,
    Search,
    Insert,
    Delete,
    Upsert,
    QueryIterator,
    SearchIterator,
    HybridSearch,
}

Constants:

  • Query

    Applies to query operations.

  • Search

    Applies to search operations.

  • Insert

    Applies to insert operations.

  • Delete

    Applies to delete operations.

  • Upsert

    Applies to upsert operations.

  • QueryIterator

    Applies to query-iterator operations.

  • SearchIterator

    Applies to search-iterator operations.

  • HybridSearch

    Applies to hybrid-search operations.

Example

let actions = [RowPolicyAction::Query, RowPolicyAction::Search];

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?