1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-02-17 17:16:27 +03:00
parent f684f83c47
commit fc588ce5e7
77 changed files with 6730 additions and 6709 deletions

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,7 +1,7 @@
 Image = "https://api.athenaeum.digital/test_data/picture.jpg";  Image = "https://api.athenaeum.digital/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -1,4 +1,4 @@
 Address = "93.125.42.204";  Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string | | Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -37,7 +37,7 @@ Without specifying the `ForcifyResult` flag, result data is returned only for qu
Image = "https://api.athenaeum.digital/test_data/picture.jpg"; Image = "https://api.athenaeum.digital/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -34,7 +34,7 @@ The list of available types is described on the initial page of the PostgreSQL l
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -31,7 +31,7 @@ The list of available types is described on the initial page of the PostgreSQL l
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "postgres"; Base = "postgres";

View File

@@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "testbase1"; Base = "testbase1";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string | | Connection | --dbc | String, Arbitrary | &#x2716; | Connection or connection string |
Returns: Structure Of KeyAndValue, String - Result of query execution Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>
@@ -34,7 +34,7 @@ The list of available types is described on the initial page of the PostgreSQL l
```bsl title="1C:Enterprise/OneScript code example" ```bsl title="1C:Enterprise/OneScript code example"
Address = "93.125.42.204"; Address = "127.0.0.1";
Login = "bayselonarrend"; Login = "bayselonarrend";
Password = "12we..."; Password = "12we...";
Base = "test_data"; Base = "test_data";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Connection | --db | String, Arbitrary | &#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 Returns: Map Of KeyAndValue - Result of query execution
<br/> <br/>

View File

@@ -1,7 +1,7 @@
 Картинка = "https://api.athenaeum.digital/test_data/picture.jpg";  Картинка = "https://api.athenaeum.digital/test_data/picture.jpg";
OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -1,4 +1,4 @@
 Адрес = "93.125.42.204";  Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -37,7 +37,7 @@ import TabItem from '@theme/TabItem';
Картинка = "https://api.athenaeum.digital/test_data/picture.jpg"; Картинка = "https://api.athenaeum.digital/test_data/picture.jpg";
OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "postgres"; База = "postgres";

View File

@@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "testbase1"; База = "testbase1";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения | | Соединение | --dbc | Строка, Произвольный | &#x2716; | Соединение или строка подключения |
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>
@@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
```bsl title="Пример использования для 1С:Предприятие/OneScript" ```bsl title="Пример использования для 1С:Предприятие/OneScript"
Адрес = "93.125.42.204"; Адрес = "127.0.0.1";
Логин = "bayselonarrend"; Логин = "bayselonarrend";
Пароль = "12we..."; Пароль = "12we...";
База = "test_data"; База = "test_data";

View File

@@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
| Соединение | --db | Строка, Произвольный | &#x2716; | Существующее соединение или путь к базе. In memory, если не заполнено | | Соединение | --db | Строка, Произвольный | &#x2716; | Существующее соединение или путь к базе. In memory, если не заполнено |
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
<br/> <br/>

File diff suppressed because it is too large Load Diff

View File

@@ -130,7 +130,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ExecuteSQLQuery(Val QueryText Function ExecuteSQLQuery(Val QueryText
, Val Parameters = "" , Val Parameters = ""
, Val ForceResult = False , Val ForceResult = False
@@ -207,7 +207,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function CreateDatabase(Val Base, Val Connection = "") Export Function CreateDatabase(Val Base, Val Connection = "") Export
Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection); Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection);
@@ -223,7 +223,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteDatabase(Val Base, Val Connection = "") Export Function DeleteDatabase(Val Base, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection); Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection);
@@ -239,7 +239,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export
OPI_TypeConversion.GetLine(Base); OPI_TypeConversion.GetLine(Base);
@@ -264,7 +264,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function GetTableInformation(Val Table, Val Connection = "") Export Function GetTableInformation(Val Table, Val Connection = "") Export
OPI_TypeConversion.GetLine(Table); OPI_TypeConversion.GetLine(Table);
@@ -293,7 +293,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export
Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection); Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection);
@@ -309,7 +309,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ClearTable(Val Table, Val Connection = "") Export Function ClearTable(Val Table, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection); Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection);
@@ -325,7 +325,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteTable(Val Table, Val Connection = "") Export Function DeleteTable(Val Table, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection); Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection);
@@ -348,7 +348,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function AddRecords(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export Function AddRecords(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export
Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection); Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection);
@@ -368,7 +368,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function GetRecords(Val Table Function GetRecords(Val Table
, Val Fields = "*" , Val Fields = "*"
, Val Filters = "" , Val Filters = ""
@@ -396,7 +396,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export
Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection); Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection);
@@ -413,7 +413,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteRecords(Val Table, Val Filters = "", Val Connection = "") Export Function DeleteRecords(Val Table, Val Filters = "", Val Connection = "") Export
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection); Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection);

View File

@@ -130,7 +130,7 @@ EndFunction
// Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db // Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ExecuteSQLQuery(Val QueryText Function ExecuteSQLQuery(Val QueryText
, Val Parameters = "" , Val Parameters = ""
, Val ForceResult = False , Val ForceResult = False

View File

@@ -2444,10 +2444,17 @@ Procedure ProcessSpecialOptionsSecrets(Val Library, Val Option, Value)
EndIf; EndIf;
If Library = "postgres" If Library = "postgres" Then
And Option = "dbc" Then
Value = "postgresql://bayselonarrend:***@127.0.0.1:5432/"; If Option = "dbc" Then
Value = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
ElsIf Option = "addr" Then
Value = "127.0.0.1";
EndIf;
EndIf; EndIf;

View File

@@ -130,7 +130,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ExecuteSQLQuery(Val QueryText Function ExecuteSQLQuery(Val QueryText
, Val Parameters = "" , Val Parameters = ""
, Val ForceResult = False , Val ForceResult = False
@@ -207,7 +207,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function CreateDatabase(Val Base, Val Connection = "") Export Function CreateDatabase(Val Base, Val Connection = "") Export
Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection); Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection);
@@ -223,7 +223,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteDatabase(Val Base, Val Connection = "") Export Function DeleteDatabase(Val Base, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection); Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection);
@@ -239,7 +239,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export
OPI_TypeConversion.GetLine(Base); OPI_TypeConversion.GetLine(Base);
@@ -264,7 +264,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function GetTableInformation(Val Table, Val Connection = "") Export Function GetTableInformation(Val Table, Val Connection = "") Export
OPI_TypeConversion.GetLine(Table); OPI_TypeConversion.GetLine(Table);
@@ -293,7 +293,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export
Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection); Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection);
@@ -309,7 +309,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ClearTable(Val Table, Val Connection = "") Export Function ClearTable(Val Table, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection); Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection);
@@ -325,7 +325,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteTable(Val Table, Val Connection = "") Export Function DeleteTable(Val Table, Val Connection = "") Export
Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection); Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection);
@@ -348,7 +348,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function AddRecords(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export Function AddRecords(Val Table, Val DataArray, Val Transaction = True, Val Connection = "") Export
Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection); Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection);
@@ -368,7 +368,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function GetRecords(Val Table Function GetRecords(Val Table
, Val Fields = "*" , Val Fields = "*"
, Val Filters = "" , Val Filters = ""
@@ -396,7 +396,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export Function UpdateRecords(Val Table, Val ValueStructure, Val Filters = "", Val Connection = "") Export
Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection); Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection);
@@ -413,7 +413,7 @@ EndFunction
// Connection - String, Arbitrary - Connection or connection string - dbc // Connection - String, Arbitrary - Connection or connection string - dbc
// //
// Returns: // Returns:
// Structure Of KeyAndValue, String - Result of query execution // Map Of KeyAndValue - Result of query execution
Function DeleteRecords(Val Table, Val Filters = "", Val Connection = "") Export Function DeleteRecords(Val Table, Val Filters = "", Val Connection = "") Export
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection); Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection);

View File

@@ -130,7 +130,7 @@ EndFunction
// Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db // Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db
// //
// Returns: // Returns:
// Structure Of KeyAndValue - Result of query execution // Map Of KeyAndValue - Result of query execution
Function ExecuteSQLQuery(Val QueryText Function ExecuteSQLQuery(Val QueryText
, Val Parameters = "" , Val Parameters = ""
, Val ForceResult = False , Val ForceResult = False

View File

@@ -2444,10 +2444,17 @@ Procedure ProcessSpecialOptionsSecrets(Val Library, Val Option, Value)
EndIf; EndIf;
If Library = "postgres" If Library = "postgres" Then
And Option = "dbc" Then
Value = "postgresql://bayselonarrend:***@127.0.0.1:5432/"; If Option = "dbc" Then
Value = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
ElsIf Option = "addr" Then
Value = "127.0.0.1";
EndIf;
EndIf; EndIf;

View File

@@ -130,7 +130,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса
, Знач Параметры = "" , Знач Параметры = ""
, Знач ФорсироватьРезультат = Ложь , Знач ФорсироватьРезультат = Ложь
@@ -207,7 +207,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция СоздатьБазуДанных(Знач База, Знач Соединение = "") Экспорт Функция СоздатьБазуДанных(Знач База, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.СоздатьБазуДанных(OPI_PostgreSQL, База, Соединение); Результат = OPI_ЗапросыSQL.СоздатьБазуДанных(OPI_PostgreSQL, База, Соединение);
@@ -223,7 +223,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция УдалитьБазуДанных(Знач База, Знач Соединение = "") Экспорт Функция УдалитьБазуДанных(Знач База, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.УдалитьБазуДанных(OPI_PostgreSQL, База, Соединение); Результат = OPI_ЗапросыSQL.УдалитьБазуДанных(OPI_PostgreSQL, База, Соединение);
@@ -239,7 +239,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ОтключитьВсеСоединенияБазыДанных(Знач База, Знач Соединение = "") Экспорт Функция ОтключитьВсеСоединенияБазыДанных(Знач База, Знач Соединение = "") Экспорт
OPI_ПреобразованиеТипов.ПолучитьСтроку(База); OPI_ПреобразованиеТипов.ПолучитьСтроку(База);
@@ -264,7 +264,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ПолучитьИнформациюОТаблице(Знач Таблица, Знач Соединение = "") Экспорт Функция ПолучитьИнформациюОТаблице(Знач Таблица, Знач Соединение = "") Экспорт
OPI_ПреобразованиеТипов.ПолучитьСтроку(Таблица); OPI_ПреобразованиеТипов.ПолучитьСтроку(Таблица);
@@ -293,7 +293,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция СоздатьТаблицу(Знач Таблица, Знач СтруктураКолонок, Знач Соединение = "") Экспорт Функция СоздатьТаблицу(Знач Таблица, Знач СтруктураКолонок, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.СоздатьТаблицу(OPI_PostgreSQL, Таблица, СтруктураКолонок, Соединение); Результат = OPI_ЗапросыSQL.СоздатьТаблицу(OPI_PostgreSQL, Таблица, СтруктураКолонок, Соединение);
@@ -309,7 +309,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ОчиститьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт Функция ОчиститьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, , Соединение); Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, , Соединение);
@@ -325,7 +325,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция УдалитьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт Функция УдалитьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.УдалитьТаблицу(OPI_PostgreSQL, Таблица, Соединение); Результат = OPI_ЗапросыSQL.УдалитьТаблицу(OPI_PostgreSQL, Таблица, Соединение);
@@ -348,7 +348,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ДобавитьЗаписи(Знач Таблица, Знач МассивДанных, Знач Транзакция = Истина, Знач Соединение = "") Экспорт Функция ДобавитьЗаписи(Знач Таблица, Знач МассивДанных, Знач Транзакция = Истина, Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.ДобавитьЗаписи(OPI_PostgreSQL, Таблица, МассивДанных, Транзакция, Соединение); Результат = OPI_ЗапросыSQL.ДобавитьЗаписи(OPI_PostgreSQL, Таблица, МассивДанных, Транзакция, Соединение);
@@ -368,7 +368,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ПолучитьЗаписи(Знач Таблица Функция ПолучитьЗаписи(Знач Таблица
, Знач Поля = "*" , Знач Поля = "*"
, Знач Фильтры = "" , Знач Фильтры = ""
@@ -396,7 +396,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ОбновитьЗаписи(Знач Таблица, Знач СтруктураЗначений, Знач Фильтры = "", Знач Соединение = "") Экспорт Функция ОбновитьЗаписи(Знач Таблица, Знач СтруктураЗначений, Знач Фильтры = "", Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.ОбновитьЗаписи(OPI_PostgreSQL, Таблица, СтруктураЗначений, Фильтры, Соединение); Результат = OPI_ЗапросыSQL.ОбновитьЗаписи(OPI_PostgreSQL, Таблица, СтруктураЗначений, Фильтры, Соединение);
@@ -413,7 +413,7 @@
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc // Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция УдалитьЗаписи(Знач Таблица, Знач Фильтры = "", Знач Соединение = "") Экспорт Функция УдалитьЗаписи(Знач Таблица, Знач Фильтры = "", Знач Соединение = "") Экспорт
Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, Фильтры, Соединение); Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, Фильтры, Соединение);

View File

@@ -130,7 +130,7 @@
// Соединение - Строка, Произвольный - Существующее соединение или путь к базе. In memory, если не заполнено - db // Соединение - Строка, Произвольный - Существующее соединение или путь к базе. In memory, если не заполнено - db
// //
// Возвращаемое значение: // Возвращаемое значение:
// Структура Из КлючИЗначение - Результат выполнения запроса // Соответствие Из КлючИЗначение - Результат выполнения запроса
Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса
, Знач Параметры = "" , Знач Параметры = ""
, Знач ФорсироватьРезультат = Ложь , Знач ФорсироватьРезультат = Ложь

View File

@@ -2444,10 +2444,17 @@
КонецЕсли; КонецЕсли;
Если Библиотека = "postgres" Если Библиотека = "postgres" Тогда
И Опция = "dbc" Тогда
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/"; Если Опция = "dbc" Тогда
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
ИначеЕсли Опция = "addr" Тогда
Значение = "127.0.0.1";
КонецЕсли;
КонецЕсли; КонецЕсли;

View File

@@ -2445,15 +2445,15 @@
КонецЕсли; КонецЕсли;
Если Библиотека = "postgres" Тогда Если Библиотека = "postgres" Тогда
Если Опция = "dbc" Тогда Если Опция = "dbc" Тогда
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/"; Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
ИначеЕсли Опция = "addr" Тогда ИначеЕсли Опция = "addr" Тогда
Значение = "127.0.0.1"; Значение = "127.0.0.1";
КонецЕсли; КонецЕсли;
КонецЕсли; КонецЕсли;