in src/data.rs [621:633]
fn check_update_expression_compatibility(e: &str) {
if Regex::new(r"\[\d+\]").unwrap().is_match(e) {
error!("given expression '{}' contains at least one list element (e.g. [0]), which dynein doesn't support for now.", e);
std::process::exit(1);
} else if Regex::new(r"list_append|if_not_exists")
.unwrap()
.is_match(e)
{
// TODO: support list_append|if_not_exists in update SET action.
error!("given expression '{}' contains SET functions ('list_append' or 'if_not_exists'), which dynein doesn't support for now.", e);
std::process::exit(1);
}
}