mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 19:03:58 +00:00
mysql - engine
This commit is contained in:
@@ -2,6 +2,7 @@ module.exports = `
|
|||||||
select
|
select
|
||||||
TABLE_NAME as pureName,
|
TABLE_NAME as pureName,
|
||||||
TABLE_ROWS as tableRowCount,
|
TABLE_ROWS as tableRowCount,
|
||||||
|
ENGINE as tableEngine,
|
||||||
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as modifyDate
|
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as modifyDate
|
||||||
from information_schema.tables
|
from information_schema.tables
|
||||||
where TABLE_SCHEMA = '#DATABASE#' and (TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED') and TABLE_NAME =OBJECT_ID_CONDITION;
|
where TABLE_SCHEMA = '#DATABASE#' and (TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED') and TABLE_NAME =OBJECT_ID_CONDITION;
|
||||||
|
|||||||
Reference in New Issue
Block a user