#1 2010-11-17 15:36:24

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,682
Website

SQLite3Comons: Direct Adding/Update of records from an array of const

Some enhancements in SQLite3Comons.pas unit:
    - sftMany/TSQLRecordMany field type handled as a not simple field
    - new TSQLRecord.SimplePropertiesFill() method, to fill the simple properties with a given list of const parameters, following the declared order of published properties of the supplied table
    - new TSQLRest.Add(aTable: TSQLRecordClass; const aSimpleFields: array of const) overloaded method to add a record from a supplied list of const parameters
    - new TSQLRest.Update(aTable: TSQLRecordClass; aID: integer; const aSimpleFields: array of const) overloaded method to update a record from a supplied list of const parameters

Also fixed the collation implementation in SQLite3.pas.

See http://synopse.info/forum/viewtopic.php?pid=737#p737

Offline

Board footer

Powered by FluxBB