mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-03 09:35:32 +08:00
!86 dbms支持sqlite和一些bug修复
* fix: 达梦数据库连接修复,以支持带特殊字符的密码和schema * fix: oracle bug修复 * feat: dbms支持sqlite * fix: dbms 修改字段名bug
This commit is contained in:
21
server/internal/db/dbm/dbi/metasql/sqlite_meta.sql
Normal file
21
server/internal/db/dbm/dbi/metasql/sqlite_meta.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
--SQLITE_TABLE_INFO 表详细信息
|
||||
select tbl_name as tableName,
|
||||
'' as tableComment,
|
||||
'' as createTime,
|
||||
0 as dataLength,
|
||||
0 as indexLength,
|
||||
0 as tableRows
|
||||
FROM sqlite_master
|
||||
WHERE type = 'table'
|
||||
and name not like 'sqlite_%'
|
||||
ORDER BY tbl_name
|
||||
---------------------------------------
|
||||
--SQLITE_INDEX_INFO 表索引信息
|
||||
select name as indexName,
|
||||
`sql` as indexSql,
|
||||
'normal' as indexType,
|
||||
'' as indexComment
|
||||
FROM sqlite_master
|
||||
WHERE type = 'index'
|
||||
and tbl_name = '%s'
|
||||
ORDER BY name
|
||||
Reference in New Issue
Block a user