﻿---
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 | &#x2714; | Table name |
  | Filters | --filter | Array of Structure | &#x2716; | Filters array. See GetRecordsFilterStrucutre |
  | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |

  
  Returns:  Structure Of KeyAndValue, String - Result of query execution

<br/>




```bsl title="1C:Enterprise/OneScript code example"

```
 




