deleted = table.delete_rows_by_query(expr = "number < 200")
Result:
This method returns a String representing the status of delete operation. If the error pops up when deleting data, “ValueError” exception will be raised.
Parameter description:
Parameters | Description | Required |
---|---|---|
expr (str) | Expression, used to filter data to be deleted | No, defaults to blank |
wait_for_completion (bool) | Whether to wait until this job is done | No, defaults to True |
timeout (str) | Operation timeout | No, defaults to "2m" |