Closed julesfm closed 3 years ago
Commenting here, to give this issue some visibility, as per Rayne's comment on SO: https://stackoverflow.com/questions/68406656/why-are-f3-database-queries-on-views-not-working-with-sqlite/68484220?noredirect=1#comment121037372_68484220
If an SQLite DB has a VIEW in it, the schema reader in sql.php doesn't see it as it only checks for type='table'
This can be easily fixed with a patch to 1 line in sql.php that makes this change:
This appears in the release version 3.7.3.
Many thanks! Jules.