def METHOD_NAME():
    records = [{"age": 20}, {"age": 30}, {"age": 40}]
    resource = _create_datastore_resource(records)
    sql_inject = '1=1); DELETE FROM "%s"; SELECT * FROM "%s";--' % (
        resource["id"],
        resource["id"],
    )
    filters = {"age": 20, "insecure_filter": sql_inject}
    with pytest.raises(p.toolkit.ValidationError):
        helpers.call_action(
            "datastore_delete",
            resource_id=resource["id"],
            force=True,
            filters=filters,
        )
    result = helpers.call_action(
        "datastore_search", resource_id=resource["id"]
    )
    assert result["total"] == 3, result