mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-25 21:39:21 +02:00
Main build (Jenkins)
This commit is contained in:
parent
f684f83c47
commit
fc588ce5e7
2
docs/en/examples/PostgreSQL/AddRecords.txt
vendored
2
docs/en/examples/PostgreSQL/AddRecords.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
2
docs/en/examples/PostgreSQL/ClearTable.txt
vendored
2
docs/en/examples/PostgreSQL/ClearTable.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
2
docs/en/examples/PostgreSQL/CreateTable.txt
vendored
2
docs/en/examples/PostgreSQL/CreateTable.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
2
docs/en/examples/PostgreSQL/DeleteTable.txt
vendored
2
docs/en/examples/PostgreSQL/DeleteTable.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -1,7 +1,7 @@
|
||||
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
|
||||
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
2
docs/en/examples/PostgreSQL/GetRecords.txt
vendored
2
docs/en/examples/PostgreSQL/GetRecords.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
2
docs/en/examples/PostgreSQL/IsConnector.txt
vendored
2
docs/en/examples/PostgreSQL/IsConnector.txt
vendored
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -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";
|
||||
OPI_TypeConversion.GetBinaryData(Image); // Image - Type: BinaryData
|
||||
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Add-records.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Add-records.mdx
vendored
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<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"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Clear-table.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Clear-table.mdx
vendored
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Create-table.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Create-table.mdx
vendored
@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -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"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "postgres";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Delete-records.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Delete-records.mdx
vendored
@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<br/>
|
||||
|
||||
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Delete-table.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Delete-table.mdx
vendored
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Get-records.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Get-records.mdx
vendored
@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<br/>
|
||||
|
||||
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| 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/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "testbase1";
|
||||
|
4
docs/en/md/PostgreSQL/Orm/Update-records.mdx
vendored
4
docs/en/md/PostgreSQL/Orm/Update-records.mdx
vendored
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --dbc | String, Arbitrary | ✖ | Connection or connection string |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue, String - Result of query execution
|
||||
Returns: Map Of KeyAndValue - Result of query execution
|
||||
|
||||
<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"
|
||||
Address = "93.125.42.204";
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "test_data";
|
||||
|
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Connection | --db | String, Arbitrary | ✖ | 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/>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
Картинка = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные
|
||||
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
2
docs/ru/examples/PostgreSQL/ЭтоКоннектор.txt
vendored
2
docs/ru/examples/PostgreSQL/ЭтоКоннектор.txt
vendored
@ -1,4 +1,4 @@
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -37,7 +37,7 @@ import TabItem from '@theme/TabItem';
|
||||
Картинка = "https://api.athenaeum.digital/test_data/picture.jpg";
|
||||
OPI_ПреобразованиеТипов.ПолучитьДвоичныеДанные(Картинка); // Картинка - Тип: ДвоичныеДанные
|
||||
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
@ -29,7 +29,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Add-records.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Add-records.mdx
vendored
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Clear-table.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Clear-table.mdx
vendored
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Create-table.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Create-table.mdx
vendored
@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -31,7 +31,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "postgres";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Delete-records.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Delete-records.mdx
vendored
@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -27,7 +27,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Delete-table.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Delete-table.mdx
vendored
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Get-records.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Get-records.mdx
vendored
@ -22,7 +22,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -30,7 +30,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
@ -18,7 +18,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -26,7 +26,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "testbase1";
|
||||
|
4
docs/ru/md/PostgreSQL/Orm/Update-records.mdx
vendored
4
docs/ru/md/PostgreSQL/Orm/Update-records.mdx
vendored
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --dbc | Строка, Произвольный | ✖ | Соединение или строка подключения |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
@ -34,7 +34,7 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="Пример использования для 1С:Предприятие/OneScript"
|
||||
Адрес = "93.125.42.204";
|
||||
Адрес = "127.0.0.1";
|
||||
Логин = "bayselonarrend";
|
||||
Пароль = "12we...";
|
||||
База = "test_data";
|
||||
|
@ -20,7 +20,7 @@ import TabItem from '@theme/TabItem';
|
||||
| Соединение | --db | Строка, Произвольный | ✖ | Существующее соединение или путь к базе. In memory, если не заполнено |
|
||||
|
||||
|
||||
Возвращаемое значение: Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
Возвращаемое значение: Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
|
||||
<br/>
|
||||
|
||||
|
13126
service/dictionaries/en.json
vendored
13126
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
24
src/en/OInt/core/Modules/OPI_PostgreSQL.os
vendored
24
src/en/OInt/core/Modules/OPI_PostgreSQL.os
vendored
@ -130,7 +130,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ExecuteSQLQuery(Val QueryText
|
||||
, Val Parameters = ""
|
||||
, Val ForceResult = False
|
||||
@ -207,7 +207,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function CreateDatabase(Val Base, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection);
|
||||
@ -223,7 +223,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DeleteDatabase(Val Base, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection);
|
||||
@ -239,7 +239,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export
|
||||
|
||||
OPI_TypeConversion.GetLine(Base);
|
||||
@ -264,7 +264,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function GetTableInformation(Val Table, Val Connection = "") Export
|
||||
|
||||
OPI_TypeConversion.GetLine(Table);
|
||||
@ -293,7 +293,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection);
|
||||
@ -309,7 +309,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ClearTable(Val Table, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection);
|
||||
@ -325,7 +325,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DeleteTable(Val Table, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection);
|
||||
@ -348,7 +348,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection);
|
||||
@ -368,7 +368,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function GetRecords(Val Table
|
||||
, Val Fields = "*"
|
||||
, Val Filters = ""
|
||||
@ -396,7 +396,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection);
|
||||
@ -413,7 +413,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection);
|
||||
|
2
src/en/OInt/core/Modules/OPI_SQLite.os
vendored
2
src/en/OInt/core/Modules/OPI_SQLite.os
vendored
@ -130,7 +130,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ExecuteSQLQuery(Val QueryText
|
||||
, Val Parameters = ""
|
||||
, Val ForceResult = False
|
||||
|
@ -2444,10 +2444,17 @@ Procedure ProcessSpecialOptionsSecrets(Val Library, Val Option, Value)
|
||||
|
||||
EndIf;
|
||||
|
||||
If Library = "postgres"
|
||||
And Option = "dbc" Then
|
||||
If Library = "postgres" 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;
|
||||
|
||||
|
@ -130,7 +130,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ExecuteSQLQuery(Val QueryText
|
||||
, Val Parameters = ""
|
||||
, Val ForceResult = False
|
||||
@ -207,7 +207,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function CreateDatabase(Val Base, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.CreateDatabase(OPI_PostgreSQL, Base, Connection);
|
||||
@ -223,7 +223,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DeleteDatabase(Val Base, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteDatabase(OPI_PostgreSQL, Base, Connection);
|
||||
@ -239,7 +239,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DisableAllDatabaseConnections(Val Base, Val Connection = "") Export
|
||||
|
||||
OPI_TypeConversion.GetLine(Base);
|
||||
@ -264,7 +264,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function GetTableInformation(Val Table, Val Connection = "") Export
|
||||
|
||||
OPI_TypeConversion.GetLine(Table);
|
||||
@ -293,7 +293,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function CreateTable(Val Table, Val ColoumnsStruct, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.CreateTable(OPI_PostgreSQL, Table, ColoumnsStruct, Connection);
|
||||
@ -309,7 +309,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ClearTable(Val Table, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, , Connection);
|
||||
@ -325,7 +325,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function DeleteTable(Val Table, Val Connection = "") Export
|
||||
|
||||
Result = OPI_SQLQueries.DeleteTable(OPI_PostgreSQL, Table, Connection);
|
||||
@ -348,7 +348,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.AddRecords(OPI_PostgreSQL, Table, DataArray, Transaction, Connection);
|
||||
@ -368,7 +368,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue, String - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function GetRecords(Val Table
|
||||
, Val Fields = "*"
|
||||
, Val Filters = ""
|
||||
@ -396,7 +396,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.UpdateRecords(OPI_PostgreSQL, Table, ValueStructure, Filters, Connection);
|
||||
@ -413,7 +413,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Connection or connection string - dbc
|
||||
//
|
||||
// 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
|
||||
|
||||
Result = OPI_SQLQueries.DeleteRecords(OPI_PostgreSQL, Table, Filters, Connection);
|
||||
|
@ -130,7 +130,7 @@ EndFunction
|
||||
// Connection - String, Arbitrary - Existing connection or path to the base. In memory, if not filled - db
|
||||
//
|
||||
// Returns:
|
||||
// Structure Of KeyAndValue - Result of query execution
|
||||
// Map Of KeyAndValue - Result of query execution
|
||||
Function ExecuteSQLQuery(Val QueryText
|
||||
, Val Parameters = ""
|
||||
, Val ForceResult = False
|
||||
|
@ -2444,10 +2444,17 @@ Procedure ProcessSpecialOptionsSecrets(Val Library, Val Option, Value)
|
||||
|
||||
EndIf;
|
||||
|
||||
If Library = "postgres"
|
||||
And Option = "dbc" Then
|
||||
If Library = "postgres" 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;
|
||||
|
||||
|
24
src/ru/OInt/core/Modules/OPI_PostgreSQL.os
vendored
24
src/ru/OInt/core/Modules/OPI_PostgreSQL.os
vendored
@ -130,7 +130,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса
|
||||
, Знач Параметры = ""
|
||||
, Знач ФорсироватьРезультат = Ложь
|
||||
@ -207,7 +207,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция СоздатьБазуДанных(Знач База, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.СоздатьБазуДанных(OPI_PostgreSQL, База, Соединение);
|
||||
@ -223,7 +223,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция УдалитьБазуДанных(Знач База, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.УдалитьБазуДанных(OPI_PostgreSQL, База, Соединение);
|
||||
@ -239,7 +239,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ОтключитьВсеСоединенияБазыДанных(Знач База, Знач Соединение = "") Экспорт
|
||||
|
||||
OPI_ПреобразованиеТипов.ПолучитьСтроку(База);
|
||||
@ -264,7 +264,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ПолучитьИнформациюОТаблице(Знач Таблица, Знач Соединение = "") Экспорт
|
||||
|
||||
OPI_ПреобразованиеТипов.ПолучитьСтроку(Таблица);
|
||||
@ -293,7 +293,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция СоздатьТаблицу(Знач Таблица, Знач СтруктураКолонок, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.СоздатьТаблицу(OPI_PostgreSQL, Таблица, СтруктураКолонок, Соединение);
|
||||
@ -309,7 +309,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ОчиститьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, , Соединение);
|
||||
@ -325,7 +325,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция УдалитьТаблицу(Знач Таблица, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.УдалитьТаблицу(OPI_PostgreSQL, Таблица, Соединение);
|
||||
@ -348,7 +348,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ДобавитьЗаписи(Знач Таблица, Знач МассивДанных, Знач Транзакция = Истина, Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.ДобавитьЗаписи(OPI_PostgreSQL, Таблица, МассивДанных, Транзакция, Соединение);
|
||||
@ -368,7 +368,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ПолучитьЗаписи(Знач Таблица
|
||||
, Знач Поля = "*"
|
||||
, Знач Фильтры = ""
|
||||
@ -396,7 +396,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ОбновитьЗаписи(Знач Таблица, Знач СтруктураЗначений, Знач Фильтры = "", Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.ОбновитьЗаписи(OPI_PostgreSQL, Таблица, СтруктураЗначений, Фильтры, Соединение);
|
||||
@ -413,7 +413,7 @@
|
||||
// Соединение - Строка, Произвольный - Соединение или строка подключения - dbc
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение, Строка - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция УдалитьЗаписи(Знач Таблица, Знач Фильтры = "", Знач Соединение = "") Экспорт
|
||||
|
||||
Результат = OPI_ЗапросыSQL.УдалитьЗаписи(OPI_PostgreSQL, Таблица, Фильтры, Соединение);
|
||||
|
2
src/ru/OInt/core/Modules/OPI_SQLite.os
vendored
2
src/ru/OInt/core/Modules/OPI_SQLite.os
vendored
@ -130,7 +130,7 @@
|
||||
// Соединение - Строка, Произвольный - Существующее соединение или путь к базе. In memory, если не заполнено - db
|
||||
//
|
||||
// Возвращаемое значение:
|
||||
// Структура Из КлючИЗначение - Результат выполнения запроса
|
||||
// Соответствие Из КлючИЗначение - Результат выполнения запроса
|
||||
Функция ВыполнитьЗапросSQL(Знач ТекстЗапроса
|
||||
, Знач Параметры = ""
|
||||
, Знач ФорсироватьРезультат = Ложь
|
||||
|
@ -2444,10 +2444,17 @@
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
Если Библиотека = "postgres"
|
||||
И Опция = "dbc" Тогда
|
||||
Если Библиотека = "postgres" Тогда
|
||||
|
||||
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
|
||||
Если Опция = "dbc" Тогда
|
||||
|
||||
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
|
||||
|
||||
ИначеЕсли Опция = "addr" Тогда
|
||||
|
||||
Значение = "127.0.0.1";
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
|
@ -2445,15 +2445,15 @@
|
||||
КонецЕсли;
|
||||
|
||||
Если Библиотека = "postgres" Тогда
|
||||
|
||||
Если Опция = "dbc" Тогда
|
||||
|
||||
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
|
||||
|
||||
|
||||
Если Опция = "dbc" Тогда
|
||||
|
||||
Значение = "postgresql://bayselonarrend:***@127.0.0.1:5432/";
|
||||
|
||||
ИначеЕсли Опция = "addr" Тогда
|
||||
|
||||
Значение = "127.0.0.1";
|
||||
|
||||
|
||||
Значение = "127.0.0.1";
|
||||
|
||||
КонецЕсли;
|
||||
|
||||
КонецЕсли;
|
||||
|
Loading…
x
Reference in New Issue
Block a user