mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-04-23 12:18:48 +02:00
38 lines
879 B
Plaintext
38 lines
879 B
Plaintext
|
---
|
||
|
sidebar_position: 4
|
||
|
---
|
||
|
|
||
|
import Tabs from '@theme/Tabs';
|
||
|
import TabItem from '@theme/TabItem';
|
||
|
|
||
|
# Update records
|
||
|
Updates the value of records by selected criteria
|
||
|
|
||
|
|
||
|
|
||
|
`Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export`
|
||
|
|
||
|
| Parameter | CLI option | Type | Required | Description |
|
||
|
|-|-|-|-|-|
|
||
|
| Table | --table | String | ✔ | Table name |
|
||
|
| ValueStructure | --values | Structure Of KeyAndValue | ✔ | Values structure: Key > field, Value > field value |
|
||
|
| Filters | --filter | Array of Structure | ✖ | Filters array. See GetRecordsFilterStrucutre |
|
||
|
| Connection | --db | String, Arbitrary | ✖ | Existing connection or database path |
|
||
|
|
||
|
|
||
|
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||
|
|
||
|
<br/>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
```bsl title="1C:Enterprise/OneScript code example"
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|