update_by_partition_key

Function update_by_partition_key 

Source
pub async fn update_by_partition_key(test: &mut Test)
Expand description

Test update on a model with a partitioned composite primary key using the partition-key-only filter.

Todo::filter_by_user_id(user_id).update() uses only the partition key in the filter expression. For NoSQL (DynamoDB), this requires a QueryPk to find all matching records and then an UpdateItem for each — not just a bare QueryPk that silently discards the mutation.