GET https://www.askanbi.com/index.php/restaurant/en-sn/14/show

Query Metrics

14 Database Queries
13 Different statements
25.84 ms Query time
3 Invalid entities
305 Managed entities

Grouped Statements

Show all queries

Time Count Info
5.58 ms
(21.59%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.is_checked AS is_checked_3, t0.price AS price_4, t0.quantity AS quantity_5, t0.filename AS filename_6, t0.file_url AS file_url_7, t0.created_at AS created_at_8, t0.restaurant_id AS restaurant_id_9 FROM sn_restaurant_menu t0 WHERE t0.restaurant_id = ?
Parameters:
[
  14
]
4.23 ms
(16.36%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_jackpot s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
3.51 ms
(13.57%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_recruitment s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
2.84 ms
(11.00%)
1
SELECT t0.id AS id_1, t0.firstname AS firstname_2, t0.lastname AS lastname_3, t0.slug AS slug_4, t0.phone_code AS phone_code_5, t0.phone AS phone_6, t0.telephone AS telephone_7, t0.password AS password_8, t0.borned_at AS borned_at_9, t0.age AS age_10, t0.email AS email_11, t0.address AS address_12, t0.job AS job_13, t0.marital_status AS marital_status_14, t0.confirmation_token AS confirmation_token_15, t0.is_enabled AS is_enabled_16, t0.department AS department_17, t0.region AS region_18, t0.locale AS locale_19, t0.country AS country_20, t0.flag AS flag_21, t0.currency AS currency_22, t0.last_login_at AS last_login_at_23, t0.insurance_commercial_bonus AS insurance_commercial_bonus_24, t0.username AS username_25, t0.roles AS roles_26, t0.grades AS grades_27, t0.pseudo AS pseudo_28, t0.nickname AS nickname_29, t0.url AS url_30, t0.description AS description_31, t0.filename AS filename_32, t0.file_url AS file_url_33, t0.file_url_mobile AS file_url_mobile_34, t0.is_teleworker AS is_teleworker_35, t0.telework_created_at AS telework_created_at_36, t0.marketing_code AS marketing_code_37, t0.marketing_code_visible AS marketing_code_visible_38, t0.marketing AS marketing_39, t0.created_at AS created_at_40, t0.updated_at AS updated_at_41, t0.notifications_read_at AS notifications_read_at_42, t0.gender AS gender_43, t0.visiting_card_url AS visiting_card_url_44, t0.badge_url AS badge_url_45, t0.is_check_telephone_update AS is_check_telephone_update_46, t0.phone_code_update AS phone_code_update_47, t0.telephone_update AS telephone_update_48, t0.insurer_id AS insurer_id_49, t0.ticketer_id AS ticketer_id_50 FROM sn_author t0 WHERE t0.id = ?
Parameters:
[
  1
]
2.53 ms
(9.79%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_ad s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
1.66 ms
(6.44%)
1
SELECT s0_.id AS id_0, s0_.is_enabled AS is_enabled_1, s0_.code AS code_2, s0_.flag AS flag_3, s0_.currency AS currency_4, s0_.phone_code AS phone_code_5, s0_.language AS language_6, s0_.name AS name_7, s0_.name_en AS name_en_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10 FROM sn_country s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_enabled = true LIMIT 1
Parameters:
[
  "sn"
]
1.51 ms
(5.85%)
1
SELECT t0.id AS id_1, t0.marketing_code AS marketing_code_2, t0.chrono AS chrono_3, t0.ref AS ref_4, t0.name AS name_5, t0.slug AS slug_6, t0.telephone AS telephone_7, t0.is_enabled AS is_enabled_8, t0.url AS url_9, t0.department AS department_10, t0.department_slugified AS department_slugified_11, t0.region AS region_12, t0.region_slugified AS region_slugified_13, t0.content AS content_14, t0.filename AS filename_15, t0.file_url AS file_url_16, t0.file_url_mobile AS file_url_mobile_17, t0.premium_end AS premium_end_18, t0.created_at AS created_at_19, t0.updated_at AS updated_at_20, t0.author_id AS author_id_21, t0.country_id AS country_id_22, t0.category_id AS category_id_23 FROM sn_restaurant t0 WHERE t0.id = ?
Parameters:
[
  14
]
1.39 ms
(5.39%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_land s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
0.79 ms
(3.05%)
1
SELECT s0_.id AS id_0, s0_.is_enabled AS is_enabled_1, s0_.code AS code_2, s0_.flag AS flag_3, s0_.currency AS currency_4, s0_.phone_code AS phone_code_5, s0_.language AS language_6, s0_.name AS name_7, s0_.name_en AS name_en_8, s0_.created_at AS created_at_9, s0_.updated_at AS updated_at_10 FROM sn_country s0_ WHERE s0_.is_enabled = true ORDER BY s0_.id ASC
Parameters:
[]
0.66 ms
(2.55%)
2
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_restaurant s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
0.46 ms
(1.80%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_car s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
0.38 ms
(1.47%)
1
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.code AS code_2, s0_.is_visible AS is_visible_3, s0_.created_at AS created_at_4, s0_.updated_at AS updated_at_5 FROM sn_country_insurance s0_ WHERE LOWER(s0_.code) = ? AND s0_.is_visible = true LIMIT 1
Parameters:
[
  "sn"
]
0.29 ms
(1.13%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_en AS name_en_3, t0.slug AS slug_4 FROM sn_ad_menu t0
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\Country 218
App\Entity\RestaurantMenu 70
App\Entity\AdMenu 5
App\Entity\Restaurant 1
App\Entity\Author 1
App\Entity\CountryRestaurant 1
App\Entity\RestaurantCategory 1
App\Entity\CountryRecruitment 1
App\Entity\CountryInsurance 1
App\Entity\CountryJackpot 1
App\Entity\CountryLand 1
App\Entity\CountryCar 1
App\Entity\CountryAd 1
App\Entity\Insurer 1
App\Entity\Ticketer 1

Entities Mapping

Class Mapping errors
App\Entity\Restaurant No errors.
App\Entity\Author
  • The mappings App\Entity\Author#followers and App\Entity\Follower#author are inconsistent with each other.
App\Entity\CountryRestaurant No errors.
App\Entity\RestaurantCategory No errors.
App\Entity\RestaurantMenu No errors.
App\Entity\Country No errors.
App\Entity\AdMenu No errors.
App\Entity\AdSubMenu No errors.
App\Entity\CountryRecruitment No errors.
App\Entity\Recruitment No errors.
App\Entity\CountryInsurance No errors.
App\Entity\AutoCategory No errors.
App\Entity\Insurance No errors.
App\Entity\CountryJackpot No errors.
App\Entity\Jackpot
  • The association App\Entity\Jackpot#author refers to the inverse side field App\Entity\Author#jackpots which does not exist.
App\Entity\CountryTicketer No errors.
App\Entity\CountryLand No errors.
App\Entity\Land No errors.
App\Entity\CountryCar
  • The mappings App\Entity\CountryCar#cars and App\Entity\Restaurant#country are inconsistent with each other.
App\Entity\CountryAd No errors.
App\Entity\Ad No errors.
App\Entity\Insurer No errors.
App\Entity\Ticketer No errors.
App\Entity\AuthorAlbum No errors.
App\Entity\Follower No errors.
App\Entity\Car No errors.
App\Entity\TicketingNumbering No errors.
App\Entity\TicketingReceipt No errors.
App\Entity\TicketingSubscription No errors.
App\Entity\TicketBill No errors.