for getting rid of pairs via things like SQL queries
rhs_box = tmpl_value(current->rhs.vpt);
- /*
- * @todo - just parse the data as a string, and remove it?
- */
- if (map->op == T_OP_SUB_EQ) {
- REDEBUG("%s[%d] Cannot remove data from a list", MAP_INFO);
- return -1;
- }
-
da = current->lhs.vp->da;
if (fr_type_is_group(da->type)) da = fr_dict_root(request->dict);
test_fail
}
-%(debug_attr:request[*])
+#
+# Remove via in-place list, too.
+#
+&request -= "Tmp-String-0 == 'foo'"
+if (&Tmp-String-0[0] != "baz") {
+ test_fail
+}
+
+if (&Tmp-String-0[1]) {
+ test_fail
+}
success