1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-06-18 05:04:13 +02:00
Files
OpenIntegrations/docs/en/examples/SQLite/EnsureTable.txt
T
Vitaly the Alpaca (bot) bea53c3d59 Main build (Jenkins)
2025-06-27 11:47:43 +03:00

13 lines
401 B
Plaintext
Vendored

Base = FunctionParameters["SQLite_DB"];
Table = "test";
ColoumnsStruct = New Structure;
ColoumnsStruct.Insert("id" , "INTEGER");
ColoumnsStruct.Insert("code" , "INTEGER");
ColoumnsStruct.Insert("name" , "TEXT");
ColoumnsStruct.Insert("age" , "INTEGER");
ColoumnsStruct.Insert("info" , "TEXT");
Result = OPI_SQLite.EnsureTable(Table, ColoumnsStruct, Base);