You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-12-01 22:29:52 +02:00
Main build (Jenkins)
This commit is contained in:
12
docs/en/examples/PostgreSQL/AddTableColumn.txt
vendored
Normal file
12
docs/en/examples/PostgreSQL/AddTableColumn.txt
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
Base = "testbase1";
|
||||
Table = "testtable";
|
||||
Name = "new_field";
|
||||
DataType = "TEXT";
|
||||
|
||||
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
|
||||
|
||||
Result = OPI_PostgreSQL.AddTableColumn(Table, Name, DataType, ConnectionString);
|
||||
11
docs/en/examples/PostgreSQL/DeleteTableColumn.txt
vendored
Normal file
11
docs/en/examples/PostgreSQL/DeleteTableColumn.txt
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
Base = "testbase1";
|
||||
Table = "testtable";
|
||||
Name = "new_field";
|
||||
|
||||
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
|
||||
|
||||
Result = OPI_PostgreSQL.DeleteTableColumn(Table, Name, ConnectionString);
|
||||
16
docs/en/examples/PostgreSQL/EnsureTable.txt
vendored
Normal file
16
docs/en/examples/PostgreSQL/EnsureTable.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Address = "127.0.0.1";
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
|
||||
Base = "testbase1";
|
||||
Table = "testtable";
|
||||
|
||||
ConnectionString = OPI_PostgreSQL.GenerateConnectionString(Address, Base, Login, Password);
|
||||
|
||||
ColoumnsStruct = New Structure;
|
||||
ColoumnsStruct.Insert("smallint_field" , "SMALLINT");
|
||||
ColoumnsStruct.Insert("uuid_field" , "uuid");
|
||||
ColoumnsStruct.Insert("bigint_field" , "BIGINT");
|
||||
ColoumnsStruct.Insert("custom_field" , "TEXT");
|
||||
|
||||
Result = OPI_PostgreSQL.EnsureTable(Table, ColoumnsStruct, ConnectionString);
|
||||
Reference in New Issue
Block a user