Tidy up the Table SQL interface a bit
All checks were successful
CI / release-test (push) Successful in 2m33s
All checks were successful
CI / release-test (push) Successful in 2m33s
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
create temporary view tables as
|
||||
select l.schema, l.name, l.type, l.ncol, l.wr, l.strict
|
||||
from sqlite_schema s
|
||||
left join pragma_table_list l on s.name = l.name
|
||||
where s.type = 'table';
|
||||
select l.schema,
|
||||
l.name,
|
||||
l.type,
|
||||
l.wr as is_without_rowid,
|
||||
l.strict as is_strict
|
||||
from sqlite_schema s
|
||||
left join pragma_table_list l on s.name = l.name
|
||||
where s.type = 'table';
|
||||
|
||||
create temporary view columns as
|
||||
select tables.name as table_name,
|
||||
|
||||
Reference in New Issue
Block a user