GET https://dev.badnii.com/php_info.php.bak/blogs

Query Metrics

21 Database Queries
10 Different statements
10.78 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
2.96 ms
(27.42%)
1
SELECT COUNT(DISTINCT b0_.id) AS sclr_0 FROM blog b0_ LEFT JOIN blog_category b1_ ON b0_.blog_category_id = b1_.id
Parameters:
[]
2.67 ms
(24.80%)
10
SELECT t0.id AS id_1, t0.site_name AS site_name_2, t0.site_name_ar AS site_name_ar_3, t0.description AS description_4, t0.description_ar AS description_ar_5, t0.favicon AS favicon_6, t0.logo AS logo_7, t0.logo_ar AS logo_ar_8, t0.header_tag AS header_tag_9, t0.header_tag_ar AS header_tag_ar_10, t0.copyright AS copyright_11, t0.copyright_ar AS copyright_ar_12, t0.social_link AS social_link_13, t0.contact_details AS contact_details_14, t0.meal_calories_approx AS meal_calories_approx_15, t0.earning_percentage AS earning_percentage_16, t0.earning_percentage_expert AS earning_percentage_expert_17, t0.earning_percentage_restaurant AS earning_percentage_restaurant_18, t0.account_approval_method AS account_approval_method_19, t0.favicon_ar AS favicon_ar_20, t0.contact_us_image AS contact_us_image_21, t0.max_delivery_distance AS max_delivery_distance_22, t0.cancel_duration_allowance AS cancel_duration_allowance_23, t0.program_commission AS program_commission_24, t0.restaurant_commission AS restaurant_commission_25, t0.platform_administrative_commission AS platform_administrative_commission_26 FROM setting t0 LIMIT 1
Parameters:
[]
1.58 ms
(14.64%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.title_ar AS title_ar_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5 FROM tag t0
Parameters:
[]
1.22 ms
(11.28%)
1
SELECT b0_.id AS id_0, b0_.title AS title_1, b0_.title_ar AS title_ar_2, b0_.description AS description_3, b0_.description_ar AS description_ar_4, b0_.content AS content_5, b0_.content_ar AS content_ar_6, b0_.image AS image_7, b0_.published AS published_8, b0_.meta_tags AS meta_tags_9, b0_.created_at AS created_at_10, b0_.updated_at AS updated_at_11, b0_.blog_category_id AS blog_category_id_12 FROM blog b0_ LEFT JOIN blog_category b1_ ON b0_.blog_category_id = b1_.id WHERE b0_.id IN (?, ?, ?) ORDER BY b0_.id DESC
Parameters:
[
  8
  7
  6
]
0.79 ms
(7.34%)
2
SELECT t0.id AS id_1, t0.title AS title_2, t0.title_ar AS title_ar_3, t0.description AS description_4, t0.description_ar AS description_ar_5, t0.content AS content_6, t0.type AS type_7, t0.content_ar AS content_ar_8, t0.for_role AS for_role_9, t0.video AS video_10, t0.video_ar AS video_ar_11 FROM PAGE t0 WHERE t0.for_role IS NULL
Parameters:
[]
0.40 ms
(3.70%)
1
SELECT t0.id AS id_1, t0.title AS title_2, t0.title_ar AS title_ar_3 FROM blog_category t0
Parameters:
[]
0.36 ms
(3.30%)
2
SELECT t0.code AS code_1, t0.name AS name_2, t0.minor_units AS minor_units_3, t0.symbol AS symbol_4, t0.active AS active_5 FROM currencies t0
Parameters:
[]
0.32 ms
(2.97%)
1
SELECT DISTINCT b0_.id AS id_0, b0_.id AS id_1 FROM blog b0_ LEFT JOIN blog_category b1_ ON b0_.blog_category_id = b1_.id ORDER BY b0_.id DESC LIMIT 9
Parameters:
[]
0.26 ms
(2.39%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.currency_code AS currency_code_3, t0.is_default AS is_default_4, t0.valid_from AS valid_from_5, t0.valid_to AS valid_to_6 FROM price_lists t0 WHERE t0.is_default = ? LIMIT 1
Parameters:
[
  1
]
0.23 ms
(2.15%)
1
SELECT t0.code AS code_1, t0.name AS name_2, t0.minor_units AS minor_units_3, t0.symbol AS symbol_4, t0.active AS active_5 FROM currencies t0 WHERE t0.code = ? LIMIT 1
Parameters:
[
  "OMR"
]

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\Tag No errors.
App\Entity\Blog No errors.
App\Entity\BlogCategory No errors.
App\Entity\Setting No errors.
App\Entity\Page No errors.
App\Entity\PriceList No errors.
App\Entity\Currency No errors.