1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-02 20:52:28 +02:00
Files
OpenIntegrations/docs/en/examples/SQLite/UpdateRecords.txt
T
Vitaly the Alpaca (bot) ec1ab6567f Main build (Jenkins)
2025-12-06 16:55:34 +03:00

21 lines
635 B
Plaintext
Vendored

Base = "C:\Users\bayse\AppData\Local\Temp\v8_3FD_2c.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);
Result = OPI_SQLite.UpdateRecords(Table, FieldsStructure, FilterStructure, Base);