Skip to main content

handle_alter_array

Function handle_alter_array 

Source
pub async fn handle_alter_array<S: StorageEngine>(
    engine: &LiteQueryEngine<S>,
    array_id: &str,
    audit_retain_ms: Option<Option<i64>>,
    minimum_audit_retain_ms: Option<Option<u64>>,
) -> Result<QueryResult, LiteError>
Expand description

AlterArray — update the bitemporal retention policy for an array.

The new audit_retain_ms is persisted to Namespace::Meta under the key array_retain/<array_id> so that subsequent compact calls can read it.