Does using `@DatabaseView` take up additional spac...
# room
m
Does using
@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?
e
it translates to a SQLite view, which is equivalent to a
SELECT
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_subqueries
m
Some great info here, thanks