1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-07-10 19:46:33 +03:00
parent b2b28a561c
commit 8ca18b357d
71 changed files with 9842 additions and 8350 deletions

View File

@@ -0,0 +1,17 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
Table = "testtable";
Name = "new_field";
DataType = "bigint";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.AddTableColumn(Table, Name, DataType, ConnectionString, TLSSettings);

15
docs/en/examples/MSSQL/ClearTable.txt vendored Normal file
View File

@@ -0,0 +1,15 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
Table = "testtable";
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.ClearTable(Table, ConnectionString, TLSSettings);

View File

@@ -0,0 +1,14 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);
Base = "testbase1";
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.DeleteDatabase(Base, ConnectionString, TLSSettings);

15
docs/en/examples/MSSQL/DeleteTable.txt vendored Normal file
View File

@@ -0,0 +1,15 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
Table = "testtable";
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.DeleteTable(Table, ConnectionString, TLSSettings);

View File

@@ -0,0 +1,16 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
Table = "testtable";
Name = "new_field";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.DeleteTableColumn(Table, Name, ConnectionString, TLSSettings);

21
docs/en/examples/MSSQL/EnsureTable.txt vendored Normal file
View File

@@ -0,0 +1,21 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
Table = "testtable";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
ColoumnsStruct = New Structure;
ColoumnsStruct.Insert("smallint_field" , "smallint");
ColoumnsStruct.Insert("double_field" , "real");
ColoumnsStruct.Insert("bigint_field" , "bigint");
ColoumnsStruct.Insert("custom_field" , "nvarchar");
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.EnsureTable(Table, ColoumnsStruct, ConnectionString, TLSSettings);

View File

@@ -1,6 +1,5 @@
 Address = "127.0.0.1";
Login = "bayselonarrend";
Password = "12we...";
Base = "";
Result = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
Result = OPI_MSSQL.GenerateConnectionString(Address, , Login, Password);

View File

@@ -0,0 +1,15 @@
 Address = "127.0.0.1";
Login = "SA";
Password = "12we...";
Base = "testbase1";
TLSSettings = OPI_MSSQL.GetTlsSettings(True);
ConnectionString = OPI_MSSQL.GenerateConnectionString(Address, Base, Login, Password);
Table = "testtable";
// When using the connection string, a new connection is initialised,
// which will be closed after the function is executed.
// If several operations are performed, it is desirable to use one connection,
// previously created by the CreateConnection function()
Result = OPI_MSSQL.GetTableInformation(Table, ConnectionString, TLSSettings);