mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Hidden tables sqlite1/2/3/4, closes #1587
This commit is contained in:
parent
cb29119db9
commit
58652dd925
2 changed files with 15 additions and 1 deletions
|
|
@ -345,7 +345,9 @@ class Database:
|
|||
"""
|
||||
select name from sqlite_master
|
||||
where rootpage = 0
|
||||
and sql like '%VIRTUAL TABLE%USING FTS%'
|
||||
and (
|
||||
sql like '%VIRTUAL TABLE%USING FTS%'
|
||||
) or name in ('sqlite_stat1', 'sqlite_stat2', 'sqlite_stat3', 'sqlite_stat4')
|
||||
"""
|
||||
)
|
||||
).rows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue