You are not logged in.
Pages: 1
Is it possible to have sqlite generated columns as described here for an Torm in order to be used in queries?
https://www.sqlite.org/gencol.html
Which is the proposed way to create them (if it is possible)?
Offline
This is a very SQLite-specific feature, so perhaps not to be part of the ORM.
My guess is that the easiest is to create the table manually in plain SQL, before call CreateMissingTables for the ORM.
Then, when you make Add() or Update() at ORM level, you should ensure you don't include those columns, so you need to specify the column names as CSV or TSqlFieldBits.
Offline
Thank you a lot @ab
Is there a way to have the create sql query from CreateMissingTables to modify it and create the table in a way it will not cause trouble to mormot?
Offline
Pages: 1