How i can to make a dynamic, calculated column? Which is calculated using other columns and not stored in the database. Which can be used for data output and sorting.
Library: stephencelis/SQLite.swift (https://github.com/stephencelis/SQLite.swift)
Example:
SELECT a+b as c from test ORDER BY c ASC;
Thanks.
With sqlite 3.31.0 and newer, you can use a generated column.
Or use a view: