1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-04-28 20:46:05 +02:00
Files
OpenIntegrations/docs/en/examples/SQLite/CreateTable.txt
T
Vitaly the Alpaca (bot) c666f4e470 Main build (Jenkins)
2026-02-10 22:03:20 +03:00

18 lines
696 B
Plaintext
Vendored

Base = "/tmp/vnnmoosn.qqb.sqlite";
Table = "test";
ColoumnsStruct = New Structure;
ColoumnsStruct.Insert("id" , "INTEGER PRIMARY KEY");
ColoumnsStruct.Insert("name" , "TEXT");
ColoumnsStruct.Insert("age" , "INTEGER");
ColoumnsStruct.Insert("salary" , "REAL");
ColoumnsStruct.Insert("is_active" , "BOOLEAN");
ColoumnsStruct.Insert("created_at", "DATETIME");
ColoumnsStruct.Insert("data" , "BLOB");
Options = New Structure;
Options.Insert("table", Table);
Options.Insert("cols" , ColoumnsStruct);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "CreateTable", Options);