delete_table_rows
Remove specific rows from a table in Baidu Vector Database using a filter expression. Streamlines data management by targeting deletions based on defined criteria.
Instructions
Delete rows with a filter expression in the Mochow instance.
Args:
table_name (str): Name of the table.
filter_expr (str): Filter expression to select data to delete.
Returns:
str: A message indicating the success of data deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_expr | Yes | ||
| table_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"filter_expr": {
"title": "Filter Expr",
"type": "string"
},
"table_name": {
"title": "Table Name",
"type": "string"
}
},
"required": [
"table_name",
"filter_expr"
],
"title": "delete_table_rowsArguments",
"type": "object"
}