We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
where type = 'temp_schema'
where type = 'table'
1 parent a1f1b4f commit a93f632Copy full SHA for a93f632
1 file changed
dialect/sqlite/main.go
@@ -14,11 +14,11 @@ import (
14
var Entry = &dialect.Entry{
15
Usage: "sqlbless sqlite3 :memory: OR <FILEPATH>",
16
SQLForTables: `
17
- select 'master' AS schema,name,rootpage,sql FROM sqlite_master
+ select 'main' as schema,name,rootpage,sql from sqlite_master
18
19
union all
20
- select 'temp_schema' AS schema,name,rootpage,sql FROM sqlite_temp_schema
21
- where type = 'temp_schema'`,
+ select 'temp' as schema,name,rootpage,sql from sqlite_temp_master
+ where type = 'table'`,
22
TypeConverterFor: typeNameToConv,
23
PlaceHolder: &placeHolder{},
24
SQLForColumns: `PRAGMA table_info({table_name})`,
0 commit comments