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/UpdateRecords.txt
T
Vitaly the Alpaca (bot) c666f4e470 Main build (Jenkins)
2026-02-10 22:03:20 +03:00

26 lines
803 B
Plaintext
Vendored

Base = "/tmp/vnnmoosn.qqb.sqlite";
Table = "test";
FieldsStructure = New Structure;
FieldsStructure.Insert("name" , "Vitaly A.");
FieldsStructure.Insert("salary", "999999");
Filters = New Array;
FilterStructure = New Structure;
FilterStructure.Insert("field", "name");
FilterStructure.Insert("type" , "=");
FilterStructure.Insert("value", "Vitaly");
FilterStructure.Insert("union", "AND");
FilterStructure.Insert("raw" , False);
Filters.Add(FilterStructure);
Options = New Structure;
Options.Insert("table" , Table);
Options.Insert("values", FieldsStructure);
Options.Insert("filter", FilterStructure);
Options.Insert("db" , Base);
Result = OPI_TestDataRetrieval.ExecuteTestCLI("sqlite", "UpdateRecords", Options);