macro_rules! remove {
(
$client:expr;
$ent:expr
) => { ... };
}Expand description
Convenience macro for delete with ConditionExpression that the item being deleted exists.
ยงExamples
remove!(c; Task {
task_id: Some("87cb64a9-6431-406f-89d8-e91cb7ea944b".to_string()),
project: Some("foo_project".to_string()),
employee: Some("Mark".to_string()),
..Default::default()
})?;