--- sidebar_position: 8 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Delete records Deletes records from the table `Function DeletePosts(Val Table, Val Filters = "", Val Connection = "") Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | Table | --table | String | ✔ | Table name | | Filters | --filter | Array of Structure | ✖ | Filters array. See GetRecordsFilterStrucutre | | Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string | Returns: Structure Of KeyAndValue, String - Result of query execution
```bsl title="1C:Enterprise/OneScript code example" ```