GET https://protokoll-prod.dighist.se/institution/view/12

Query Metrics

4 Database Queries
4 Different statements
0.63 ms Query time
5 Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.27 ms
(42.08%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.alt_names AS alt_names_3, t0.automark_ignore AS automark_ignore_4, t0.date_of_establishment AS date_of_establishment_5, t0.date_of_establishment_accuracy AS date_of_establishment_accuracy_6, t0.date_of_dissolution AS date_of_dissolution_7, t0.date_of_dissolution_accuracy AS date_of_dissolution_accuracy_8, t0.description AS description_9, t0.research_notes AS research_notes_10, t0.updated_at AS updated_at_11, t0.wikidata_id AS wikidata_id_12, t0.en_name AS en_name_13, t0.sbl_id AS sbl_id_14, t0.sv_wikipedia_link AS sv_wikipedia_link_15, t0.en_wikipedia_link AS en_wikipedia_link_16, t0.sv_wikisource_link AS sv_wikisource_link_17, t0.en_wikisource_link AS en_wikisource_link_18, t0.commons_wiki_link AS commons_wiki_link_19, t0.literature_bank_id AS literature_bank_id_20, t0.runeberg_id AS runeberg_id_21, t0.en_description AS en_description_22, t0.place_id AS place_id_23, t24.id AS id_25, t24.actor_id AS actor_id_26, t24.institution_id AS institution_id_27, t0.archive_id AS archive_id_28, t0.portrait_id AS portrait_id_29 FROM institutions t0 LEFT JOIN correspondents t24 ON t24.institution_id = t0.id WHERE t0.id = ?
Parameters:
[
  "12"
]
0.14 ms
(21.85%)
1
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.start_date_accuracy AS start_date_accuracy_3, t0.end_date AS end_date_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.type AS type_6, t0.description AS description_7, t0.research_notes AS research_notes_8, t0.correspondent_id AS correspondent_id_9, t0.source_id AS source_id_10, t0.place_id AS place_id_11 FROM actions t0 WHERE t0.correspondent_id = ?
Parameters:
[
  7301
]
0.12 ms
(19.77%)
1
SELECT t0.id AS id_1, t0.date AS date_2, t0.date_accuracy AS date_accuracy_3, t0.description AS description_4, t0.start_page AS start_page_5, t0.end_page AS end_page_6, t0.start_pos AS start_pos_7, t0.end_pos AS end_pos_8, t0.time AS time_9, t0.verb AS verb_10, t0.paragraph AS paragraph_11, t0.mention_type AS mention_type_12, t0.info_source_id AS info_source_id_13, t0.actor_id AS actor_id_14, t0.institution_id AS institution_id_15, t0.place_id AS place_id_16, t0.action_id AS action_id_17, t0.mentioned_source_id AS mentioned_source_id_18, t0.event_place_id AS event_place_id_19, t0.secondary_mention_id AS secondary_mention_id_20, t0.secondary_actor_id AS secondary_actor_id_21 FROM mentions t0 WHERE t0.institution_id = ?
Parameters:
[
  12
]
0.10 ms
(16.30%)
1
SELECT t0.id AS id_1, t0.start_date AS start_date_2, t0.end_date AS end_date_3, t0.start_date_accuracy AS start_date_accuracy_4, t0.end_date_accuracy AS end_date_accuracy_5, t0.actor_id AS actor_id_6, t0.institution_id AS institution_id_7, t0.occupation_id AS occupation_id_8 FROM actors_to_occupations t0 WHERE t0.institution_id = ?
Parameters:
[
  12
]

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.

Entities Mapping

Class Mapping errors
App\Entity\Actor
  • The field 'App\Entity\Actor#SBL_id' has the property type 'int' that differs from the metadata field type 'string' returned by the 'text' DBAL type.
  • The association App\Entity\Actor#updated_by refers to the inverse side field App\Entity\User#edited_actors which does not exist.
App\Entity\Institution No errors.
App\Entity\Place
  • The association App\Entity\Place#image refers to the inverse side field App\Entity\DatabaseFile#places which does not exist.
App\Entity\Correspondent No errors.
App\Entity\Archive No errors.
App\Entity\DatabaseFile
  • The field App\Entity\DatabaseFile#place is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Place#image does not contain the required 'mappedBy="place"' attribute.
  • If association App\Entity\DatabaseFile#place is many-to-one, then the inversed side App\Entity\Place#image has to be one-to-many.
  • The field App\Entity\DatabaseFile#actor is on the owning side of a bi-directional relationship, but the specified inversedBy association on the target-entity App\Entity\Actor#portrait does not contain the required 'mappedBy="actor"' attribute.
App\Entity\ActorOccupation No errors.
App\Entity\Mention
  • The mappings App\Entity\Mention#mentioned_source and App\Entity\Source#mentions are inconsistent with each other.
  • The association App\Entity\Mention#secondaryMention refers to the inverse side field App\Entity\Mention#PrimaryMentions which does not exist.
  • The mappings App\Entity\Mention#primaryMentions and App\Entity\Mention#secondaryMention are inconsistent with each other.
App\Entity\Action No errors.
App\Entity\Source
  • The mappings App\Entity\Source#mentions_in_source and App\Entity\Mention#mentioned_source are inconsistent with each other.
  • The association App\Entity\Source#updated_by refers to the inverse side field App\Entity\User#edited_sources which does not exist.
App\Entity\Occupation No errors.