mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-21 21:27:27 +02:00
Main build (Jenkins)
This commit is contained in:
parent
34120c05a5
commit
cf52033c8f
@ -43,4 +43,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
@ -42,4 +42,6 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
НЕ JSON: AddIn.OPI_PostgreSQL.Main
|
||||
```
|
||||
|
@ -40,4 +40,6 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
"postgresql://bayselonarrend:***@127.0.0.1:5432/postgres"
|
||||
```
|
||||
|
@ -44,4 +44,6 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
true
|
||||
```
|
||||
|
16
docs/ru/md/PostgreSQL/Orm/Add-records.mdx
vendored
16
docs/ru/md/PostgreSQL/Orm/Add-records.mdx
vendored
@ -83,4 +83,18 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
{
|
||||
"rollback": {
|
||||
"result": true
|
||||
},
|
||||
"result": false,
|
||||
"rows": 0,
|
||||
"errors": [
|
||||
{
|
||||
"row": 1,
|
||||
"error": "Invalid value for DATA"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
6
docs/ru/md/PostgreSQL/Orm/Create-table.mdx
vendored
6
docs/ru/md/PostgreSQL/Orm/Create-table.mdx
vendored
@ -73,4 +73,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
133
docs/ru/md/PostgreSQL/Orm/Get-table-information.mdx
vendored
133
docs/ru/md/PostgreSQL/Orm/Get-table-information.mdx
vendored
@ -45,4 +45,135 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Результат"
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "bool_field",
|
||||
"data_type": "boolean"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "oldchar_field",
|
||||
"data_type": "\"char\""
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "smallint_field",
|
||||
"data_type": "smallint"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "smallserial_field",
|
||||
"data_type": "smallint"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "int_field",
|
||||
"data_type": "integer"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "serial_field",
|
||||
"data_type": "integer"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "oid_field",
|
||||
"data_type": "oid"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "bigint_field",
|
||||
"data_type": "bigint"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "bigserial_field",
|
||||
"data_type": "bigint"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "real_field",
|
||||
"data_type": "real"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "dp_field",
|
||||
"data_type": "double precision"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "json_field",
|
||||
"data_type": "json"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "jsonb_field",
|
||||
"data_type": "jsonb"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "date_field",
|
||||
"data_type": "date"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "time_field",
|
||||
"data_type": "time without time zone"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "uuid_field",
|
||||
"data_type": "uuid"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "bytea_field",
|
||||
"data_type": "bytea"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "ts_field",
|
||||
"data_type": "timestamp without time zone"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "tswtz_field",
|
||||
"data_type": "timestamp with time zone"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "ip_field",
|
||||
"data_type": "inet"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "text_field",
|
||||
"data_type": "text"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "varchar_field",
|
||||
"data_type": "character varying"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": 3,
|
||||
"column_name": "charn_field",
|
||||
"data_type": "character"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": 1,
|
||||
"column_name": "char_field",
|
||||
"data_type": "character"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_name": "name_field",
|
||||
"data_type": "name"
|
||||
}
|
||||
],
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
13032
service/dictionaries/en.json
vendored
13032
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
3
src/en/OInt/core/Modules/OPI_PostgreSQL.os
vendored
3
src/en/OInt/core/Modules/OPI_PostgreSQL.os
vendored
@ -501,7 +501,8 @@ Function ProcessParameter(CurrentParameter, Embedded = False)
|
||||
|
||||
Else
|
||||
|
||||
If Not OPI_Tools.IsPrimitiveType(CurrentParameter) Then
|
||||
If Not OPI_Tools.IsPrimitiveType(CurrentParameter)
|
||||
And Not CurrentType = Type("Date") Then
|
||||
OPI_TypeConversion.GetLine(CurrentParameter);
|
||||
EndIf;
|
||||
|
||||
|
@ -501,7 +501,8 @@ Function ProcessParameter(CurrentParameter, Embedded = False)
|
||||
|
||||
Else
|
||||
|
||||
If Not OPI_Tools.IsPrimitiveType(CurrentParameter) Then
|
||||
If Not OPI_Tools.IsPrimitiveType(CurrentParameter)
|
||||
And Not CurrentType = Type("Date") Then
|
||||
OPI_TypeConversion.GetLine(CurrentParameter);
|
||||
EndIf;
|
||||
|
||||
|
3
src/ru/OInt/core/Modules/OPI_PostgreSQL.os
vendored
3
src/ru/OInt/core/Modules/OPI_PostgreSQL.os
vendored
@ -501,7 +501,8 @@
|
||||
|
||||
Иначе
|
||||
|
||||
Если Не OPI_Инструменты.ЭтоПримитивныйТип(ТекущийПараметр) Тогда
|
||||
Если Не OPI_Инструменты.ЭтоПримитивныйТип(ТекущийПараметр)
|
||||
И Не ТекущийТип = Тип("Дата") Тогда
|
||||
OPI_ПреобразованиеТипов.ПолучитьСтроку(ТекущийПараметр);
|
||||
КонецЕсли;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user