1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/MySQL/AddTableColumn.txt
Vitaly the Alpaca (bot) 8ca18b357d Main build (Jenkins)
2025-07-10 19:46:33 +03:00

17 lines
655 B
Plaintext
Vendored

Address = "127.0.0.1";
Login = "bayselonarrend";
Password = "12we...";
Base = "testbase1";
Table = "testtable";
Name = "new_field";
DataType = "MEDIUMTEXT";
ConnectionString = OPI_MySQL.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_MySQL.AddTableColumn(Table, Name, DataType, ConnectionString);