https://api.preprod.macantine.ideelgarden.com/robots.txt

Query Metrics

15 Database Queries
9 Different statements
8.79 ms Query time
4 Invalid entities

Queries

Group similar statements

default connection

# Time Info
1 0.20 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.host AS host_4, t0.host_presta AS host_presta_5, t0.api_key_presta AS api_key_presta_6 FROM company t0 WHERE t0.host = ? LIMIT 1
Parameters:
[
  "api.preprod.macantine.ideelgarden.com"
]
2 0.30 ms
SELECT DATABASE()
Parameters:
[]
3 0.62 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "preprod_platform_api"
]
4 0.13 ms
SELECT DATABASE()
Parameters:
[]
5 0.39 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "preprod_platform_api"
]
6 0.12 ms
SELECT DATABASE()
Parameters:
[]
7 1.13 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.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
  "preprod_platform_api"
  "doctrine_migration_versions"
]
8 0.11 ms
SELECT DATABASE()
Parameters:
[]
9 1.07 ms
SELECT DISTINCT            k.CONSTRAINT_NAME,
            k.COLUMN_NAME,
            k.REFERENCED_TABLE_NAME,
            k.REFERENCED_COLUMN_NAME,
            k.ORDINAL_POSITION /*!50116,
            c.UPDATE_RULE,
            c.DELETE_RULE */
FROM information_schema.key_column_usage k /*!50116
INNER JOIN information_schema.referential_constraints c
ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME
AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'preprod_platform_api' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "preprod_platform_api"
  "doctrine_migration_versions"
]
10 2.70 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 = 'preprod_platform_api'
            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:
[
  "preprod_platform_api"
  "preprod_platform_api"
  "doctrine_migration_versions"
]
11 0.40 ms
SELECT DATABASE()
Parameters:
[]
12 0.62 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:
[
  "preprod_platform_api"
  "doctrine_migration_versions"
]
13 0.23 ms
SELECT * FROM doctrine_migration_versions
Parameters:
[]
14 0.37 ms
SELECT DATABASE()
Parameters:
[]

company connection

# Time Info
1 0.37 ms
SELECT p0_.id_lang AS id_lang_0 FROM ps_lang p0_ WHERE p0_.iso_code = ?
Parameters:
[
  "fr"
]

Database Connections

Name Service
default doctrine.dbal.default_connection
company doctrine.dbal.company_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager
company doctrine.orm.company_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

default entity manager

Class Mapping errors
App\Entity\Main\Company No errors.
App\Entity\Main\UserAdmin No errors.

company entity manager

Class Mapping errors
App\Entity\Company\Lang
  • The association App\Entity\Company\Lang#dietLangs refers to the owning side field App\Entity\Company\DietLang#id_lang which is not defined as association, but as field.
  • The association App\Entity\Company\Lang#dietLangs refers to the owning side field App\Entity\Company\DietLang#id_lang which does not exist.
App\Entity\Company\DietLang
  • The mappings App\Entity\Company\DietLang#lang and App\Entity\Company\Lang#dietLangs are inconsistent with each other.
App\Entity\Company\AllergenLang No errors.
App\Entity\Company\ProductLang
  • The join columns of the association 'productShop' have to match to ALL identifier columns of the target entity 'App\Entity\Company\ProductShop', however 'id_shop' are missing.
  • The join columns of the association 'imageShop' have to match to ALL identifier columns of the target entity 'App\Entity\Company\ImageShop', however 'id_image, id_shop' are missing.
  • The mappings App\Entity\Company\ProductLang#categoryProducts and App\Entity\Company\CategoryProduct#productLang are inconsistent with each other.
App\Entity\Company\CategoryLang
  • The join columns of the association 'categoryProduct' have to match to ALL identifier columns of the target entity 'App\Entity\Company\CategoryProduct', however 'id_product' are missing.