1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-10-30 23:47:46 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-12-29 22:28:49 +03:00
parent 4ddfb35e2d
commit ee59e7d092
30 changed files with 6311 additions and 5943 deletions

View File

@@ -0,0 +1,4 @@
 TFN = GetTempFileName("sqlite");
LocalBase = OPI_SQLite.CreateConnection(TFN);
InMemoryBase = OPI_SQLite.CreateConnection();

View File

@@ -0,0 +1,39 @@
---
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Close connection
Explicitly closes the passed connection
`Function CloseConnection(Val Connection) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| Connection | - | Arbitrary | ✔ | AddIn object with open connection |
Returns: Structure Of KeyAndValue - Result of connection termination
<br/>
:::caution
**NOCLI:** this method is not available in CLI version
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```

View File

@@ -30,7 +30,10 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example"
TFN = GetTempFileName("sqlite");
LocalBase = OPI_SQLite.CreateConnection(TFN);
InMemoryBase = OPI_SQLite.CreateConnection();
```

View File

@@ -1,5 +1,5 @@
---
sidebar_position: 2
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
@@ -10,14 +10,14 @@ import TabItem from '@theme/TabItem';
`Function ExecuteSQLQuery(Val QueryText, Val Parameters = "", Val ForceResult = False,Val Connection = "") Export`
`Function ExecuteSQLQuery(Val QueryText, Val Parameters = "", Val ForceResult = False, Val Connection = "") Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| QueryText | --sql | String | &#x2714; | Database query text |
| Parameters | --params | Array Of Arbitrary | &#x2716; | Array of positional parameters of the request |
| ForceResult | --force | Boolean | &#x2716; | Includes an attempt to retrieve the result, even for nonSELECT queries |
| Connection | --db | String | &#x2716; | Existing connection or path to the base. In memory, if not filled |
| Connection | --db | String, Arbitrary | &#x2716; | Existing connection or path to the base. In memory, if not filled |
Returns: Structure Of KeyAndValue - Result of query execution