mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-08-17 12:24:09 +08:00
🐛 fix(app): 修复品牌图标与 SQLite 查询展示
- 修复 Windows、macOS 与关于页的品牌图标展示及资源裁切问题 - 补齐 SQLite 表记录数与 SELECT 查询结果渲染 - 增加品牌图标和 SQLite 回归测试
This commit is contained in:
@@ -286,6 +286,10 @@ func (s *SQLiteDB) GetTables(dbName string) ([]string, error) {
|
||||
return tables, nil
|
||||
}
|
||||
|
||||
func (s *SQLiteDB) GetTableRowCounts(_ string, tables []string) (map[string]int64, error) {
|
||||
return getSQLiteTableRowCounts(s.Query, tables)
|
||||
}
|
||||
|
||||
func (s *SQLiteDB) GetCreateStatement(dbName, tableName string) (string, error) {
|
||||
query := fmt.Sprintf("SELECT sql FROM sqlite_master WHERE type='table' AND name='%s'", tableName)
|
||||
data, _, err := s.Query(query)
|
||||
|
||||
Reference in New Issue
Block a user