GET https://sandbox.cgenial-connect.fr/entreprises

Query Metrics

14 Database Queries
8 Different statements
5.61 ms Query time
3 Invalid entities
76 Managed entities

Queries

Group similar statements

# Time Info
1 1.06 ms
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.status AS status_2, c0_.activity_area_more AS activity_area_more_3, c0_.head_office_address AS head_office_address_4, c0_.head_office_zipcode AS head_office_zipcode_5, c0_.head_office_city AS head_office_city_6, c0_.head_office_country AS head_office_country_7, c0_.nb_employees AS nb_employees_8, c0_.logo AS logo_9, c0_.website_url AS website_url_10, c0_.perimeter AS perimeter_11, c0_.skills AS skills_12, c0_.partner AS partner_13, c0_.partner_itdlc AS partner_itdlc_14, c0_.partner_pee AS partner_pee_15, c0_.partner_foundation AS partner_foundation_16, c0_.slug AS slug_17, c0_.max_published_pee AS max_published_pee_18, c0_.count_pee_subscription_came AS count_pee_subscription_came_19, c0_.count_speaker AS count_speaker_20, c0_.count_itdlc_archived AS count_itdlc_archived_21, c0_.count_itdlc_aborted_by_speaker AS count_itdlc_aborted_by_speaker_22, c0_.count_itdlc_archived_children AS count_itdlc_archived_children_23, c0_.count_company_location AS count_company_location_24, c0_.company_idv1 AS company_idv1_25, c0_.other_activity_area AS other_activity_area_26, c0_.created_at AS created_at_27, c0_.updated_at AS updated_at_28, c0_.idv1 AS idv1_29, c0_.comment AS comment_30, c0_.activity_area_id AS activity_area_id_31, c0_.academy_id AS academy_id_32, c0_.corporation_id AS corporation_id_33, c0_.created_by AS created_by_34, c0_.updated_by AS updated_by_35 FROM company c0_ WHERE c0_.partner_foundation = ? ORDER BY c0_.name ASC
Parameters:
[
  1
]
2 0.19 ms
SELECT DATABASE()
Parameters:
[]
3 0.58 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_sandbox"
]
4 0.13 ms
SELECT DATABASE()
Parameters:
[]
5 0.47 ms
SELECT TABLE_NAME
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = ?
  AND TABLE_TYPE = 'BASE TABLE'
ORDER BY TABLE_NAME
Parameters:
[
  "cgenial_sandbox"
]
6 0.13 ms
SELECT DATABASE()
Parameters:
[]
7 0.68 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:
[
  "cgenial_sandbox"
  "migration_versions"
]
8 0.15 ms
SELECT DATABASE()
Parameters:
[]
9 0.59 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 = 'cgenial_sandbox' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
  "cgenial_sandbox"
  "migration_versions"
]
10 1.03 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 = 'cgenial_sandbox'
            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:
[
  "cgenial_sandbox"
  "cgenial_sandbox"
  "migration_versions"
]
11 0.13 ms
SELECT DATABASE()
Parameters:
[]
12 0.20 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:
[
  "cgenial_sandbox"
  "migration_versions"
]
13 0.14 ms
SELECT * FROM migration_versions
Parameters:
[]
14 0.14 ms
SELECT DATABASE()
Parameters:
[]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\Company 34
App\Entity\User 20
App\Entity\ActivityArea 13
App\Entity\Academy 5
App\Entity\SuperOrganisation 4

Entities Mapping

Class Mapping errors
App\Entity\Company No errors.
App\Entity\ActivityArea No errors.
App\Entity\CompanyLocation No errors.
App\Entity\Manager No errors.
App\Entity\Academy No errors.
App\Entity\Feedback No errors.
App\Entity\Corporation No errors.
App\Entity\User No errors.
App\Entity\Pee No errors.
App\Entity\Address No errors.
App\Entity\Image No errors.
App\Entity\Speaker No errors.
App\Entity\Organisation No errors.
App\Entity\Stage No errors.
App\Entity\EventSession No errors.
App\Entity\Itdlc No errors.
App\Entity\AdminRole No errors.
App\Entity\ManagerOrganisation No errors.
App\Entity\UserPreference No errors.
App\Entity\ResetPasswordRequest No errors.
App\Entity\UserLog No errors.
App\Entity\SuperOrganisation No errors.
App\Entity\ResourceFile No errors.
App\Entity\Info No errors.
App\Entity\PeeSubscription No errors.
App\Entity\Discipline
  • The field App\Entity\Discipline#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#disciplines does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\Import No errors.
App\Entity\School No errors.
App\Entity\BrandLabel No errors.
App\Entity\Zipcode No errors.
App\Entity\ClassLevel
  • The field App\Entity\ClassLevel#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#classLevels does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\EventSpeaker No errors.
App\Entity\EventTheme No errors.
App\Entity\TeacherJob No errors.
App\Entity\EventType No errors.
App\Entity\StagePeriod No errors.
App\Entity\WeekItem
  • The field App\Entity\WeekItem#teachers is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity App\Entity\Teacher#disciplines does not contain the required 'inversedBy="teachers"' attribute.
App\Entity\SchoolType No errors.
App\Entity\Notification No errors.
App\Entity\EventSessionSpeaker No errors.
App\Entity\NotificationTemplate No errors.
App\Entity\StageSubscription No errors.
App\Entity\SpeechType No errors.
App\Entity\OrganisationType No errors.
App\Entity\ItdlcOptionDate No errors.
App\Entity\ProcessLog No errors.
App\Entity\Teacher No errors.
App\Entity\SendinBlueNotificationTracking No errors.
App\Entity\EventSessionSubscription No errors.
App\Entity\EducationLevel No errors.
App\Entity\TeacherSchool No errors.
App\Entity\ZipcodeGeolocation No errors.
Vich\UploaderBundle\Entity\File No errors.