1
1.09 ms
SELECT c0_ . id AS id_0 , c0_ . titolo AS titolo_1 , c0_ . nome AS nome_2 , c0_ . tipo AS tipo_3 , c0_ . gruppo AS gruppo_4 , c0_ . predefinito AS predefinito_5 , c0_ . valore AS valore_6 , c0_ . obbligatorio AS obbligatorio_7 , c0_ . descrizione AS descrizione_8 , c0_ . ordine AS ordine_9 , c0_ . data_eliminazione AS data_eliminazione_10 , c0_ . eliminato_da_id AS eliminato_da_id_11 FROM configurazione c0_ WHERE (c0_ . nome = ? ) AND (c0_ . data_eliminazione IS NULL )
Parameters :
[
"white_black_list "
]
SELECT c0_ . id AS id_0 , c0_ . titolo AS titolo_1 , c0_ . nome AS nome_2 , c0_ . tipo AS tipo_3 , c0_ . gruppo AS gruppo_4 , c0_ . predefinito AS predefinito_5 , c0_ . valore AS valore_6 , c0_ . obbligatorio AS obbligatorio_7 , c0_ . descrizione AS descrizione_8 , c0_ . ordine AS ordine_9 , c0_ . data_eliminazione AS data_eliminazione_10 , c0_ . eliminato_da_id AS eliminato_da_id_11 FROM configurazione c0_ WHERE (c0_ . nome = 'white_black_list' ) AND (c0_ . data_eliminazione IS NULL );
Copy
2
0.49 ms
SELECT t0 . id AS id_1 , t0 . ip AS ip_2 , t0 . data_eliminazione AS data_eliminazione_3 , t0 . eliminato_da_id AS eliminato_da_id_4 FROM white_black_list t0 WHERE ((t0 . data_eliminazione IS NULL ))
SELECT t0 . id AS id_1 , t0 . ip AS ip_2 , t0 . data_eliminazione AS data_eliminazione_3 , t0 . eliminato_da_id AS eliminato_da_id_4 FROM white_black_list t0 WHERE ((t0 . data_eliminazione IS NULL ));
Copy
3
0.42 ms
SELECT DATABASE ()
4
2.90 ms
SELECT TABLE_NAME
FROM information_schema . TABLES
WHERE TABLE_SCHEMA = ?
AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters :
[
"ichron_demo "
]
SELECT TABLE_NAME
FROM information_schema . TABLES
WHERE TABLE_SCHEMA = 'ichron_demo'
AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME ;
Copy
5
0.18 ms
SELECT DATABASE ()
6
0.98 ms
SELECT TABLE_NAME
FROM information_schema . TABLES
WHERE TABLE_SCHEMA = ?
AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters :
[
"ichron_demo "
]
SELECT TABLE_NAME
FROM information_schema . TABLES
WHERE TABLE_SCHEMA = 'ichron_demo'
AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME ;
Copy
7
0.21 ms
SELECT DATABASE ()
8
1.72 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . FULL_COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_NAME = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"ichron_demo "
"doctrine_migration_versions "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . FULL_COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'ichron_demo' AND t . TABLE_NAME = 'doctrine_migration_versions' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy
9
0.16 ms
SELECT DATABASE ()
10
2.56 ms
SELECT DISTINCT k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = ? AND k . TABLE_NAME = ? AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION
Parameters :
[
"ichron_demo "
"doctrine_migration_versions "
]
SELECT DISTINCT k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION
FROM information_schema . key_column_usage k WHERE k . TABLE_SCHEMA = 'ichron_demo' AND k . TABLE_NAME = 'doctrine_migration_versions' AND k . REFERENCED_COLUMN_NAME IS NOT NULL ORDER BY k . ORDINAL_POSITION ;
Copy
11
2.36 ms
SELECT c . COLUMN_NAME AS field ,
IF (
c . COLUMN_TYPE = 'longtext'
AND EXISTS (
SELECT * from information_schema . CHECK_CONSTRAINTS i_c
WHERE i_c . CONSTRAINT_SCHEMA = 'ichron_demo'
AND i_c . TABLE_NAME = c . TABLE_NAME
AND i_c . CHECK_CLAUSE = CONCAT (
'json_valid(`' ,
c . COLUMN_NAME ,
'`)'
)
),
'json' ,
c . COLUMN_TYPE
) AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE' AND t . TABLE_NAME = ? ORDER BY ORDINAL_POSITION
Parameters :
[
"ichron_demo "
"ichron_demo "
"doctrine_migration_versions "
]
SELECT c . COLUMN_NAME AS field ,
IF (
c . COLUMN_TYPE = 'longtext'
AND EXISTS (
SELECT * from information_schema . CHECK_CONSTRAINTS i_c
WHERE i_c . CONSTRAINT_SCHEMA = 'ichron_demo'
AND i_c . TABLE_NAME = c . TABLE_NAME
AND i_c . CHECK_CLAUSE = CONCAT (
'json_valid(`' ,
c . COLUMN_NAME ,
'`)'
)
),
'json' ,
c . COLUMN_TYPE
) AS type ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'ichron_demo' AND t . TABLE_SCHEMA = 'ichron_demo' AND t . TABLE_TYPE = 'BASE TABLE' AND t . TABLE_NAME = 'doctrine_migration_versions' ORDER BY ORDINAL_POSITION ;
Copy
12
0.16 ms
SELECT DATABASE ()
13
0.27 ms
SELECT NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX
Parameters :
[
"ichron_demo "
"doctrine_migration_versions "
]
SELECT NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS WHERE TABLE_SCHEMA = 'ichron_demo' AND TABLE_NAME = 'doctrine_migration_versions' ORDER BY SEQ_IN_INDEX ;
Copy
14
0.41 ms
SELECT * FROM doctrine_migration_versions
SELECT * FROM doctrine_migration_versions ;
Copy
15
0.41 ms
SELECT DATABASE ()