Michael Marshall
02/07/2022, 5:13 AM@DatabaseView
take up additional space in app memory (not storage)? Does it generate a temporary in-memory table of the view fields, or does it perform the SELECT
query each time you access the view?ephemient
02/07/2022, 5:30 AMSELECT
query run every time. note that queries on a view, like queries with subqueries, might require temporarily materializing the view/subquery depending on the SQLite optimizer. https://www.sqlite.org/tempfiles.html#materializations_of_views_and_subqueriesMichael Marshall
02/07/2022, 5:46 AM