mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Hide tables starting with an _, refs #2104
This commit is contained in:
parent
a395256c8c
commit
7818e8b9d1
3 changed files with 31 additions and 0 deletions
|
|
@ -469,6 +469,7 @@ class Database:
|
|||
and (
|
||||
sql like '%VIRTUAL TABLE%USING FTS%'
|
||||
) or name in ('sqlite_stat1', 'sqlite_stat2', 'sqlite_stat3', 'sqlite_stat4')
|
||||
or name like '\\_%' escape '\\'
|
||||
"""
|
||||
)
|
||||
).rows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue