0.92 ms (25.16%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.thumb AS thumb_5, t0.content AS content_6, t0.header AS header_7, t0.title AS title_8, t0.description AS description_9, t0.keywords AS keywords_10, t0.position AS position_11, t0.show_price AS show_price_12, t0.cost AS cost_13, t0.category_id AS category_id_14 FROM category t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.thumb AS thumb_5, t0.content AS content_6, t0.header AS header_7, t0.title AS title_8, t0.description AS description_9, t0.keywords AS keywords_10, t0.position AS position_11, t0.show_price AS show_price_12, t0.cost AS cost_13, t0.category_id AS category_id_14 FROM category t0 WHERE t0.id = 1;
|
0.54 ms (14.78%)
|
2 |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.thumb AS thumb_2, c0_.path AS path_3, COUNT(c1_.id) AS sclr_4 FROM category c0_ LEFT JOIN classified_category c2_ ON c0_.id = c2_.category_id LEFT JOIN classified c1_ ON c1_.id = c2_.classified_id AND (c1_.active = 1) WHERE c0_.category_id = ? GROUP BY c0_.id ORDER BY c0_.position ASC
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.thumb AS thumb_2, c0_.path AS path_3, COUNT(c1_.id) AS sclr_4 FROM category c0_ LEFT JOIN classified_category c2_ ON c0_.id = c2_.category_id LEFT JOIN classified c1_ ON c1_.id = c2_.classified_id AND (c1_.active = 1) WHERE c0_.category_id = 1429 GROUP BY c0_.id ORDER BY c0_.position ASC;
|
0.45 ms (12.35%)
|
1 |
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM classified c0_ LEFT JOIN photo p1_ ON c0_.id = p1_.classified_id LEFT JOIN classified_category c3_ ON c0_.id = c3_.classified_id LEFT JOIN category c2_ ON c2_.id = c3_.category_id LEFT JOIN classified_region c5_ ON c0_.id = c5_.classified_id LEFT JOIN region r4_ ON r4_.id = c5_.region_id LEFT JOIN user u6_ ON c0_.user_id = u6_.id WHERE c0_.active = 1 AND c2_.id = ?
SELECT count(DISTINCT c0_.id) AS sclr_0 FROM classified c0_ LEFT JOIN photo p1_ ON c0_.id = p1_.classified_id LEFT JOIN classified_category c3_ ON c0_.id = c3_.classified_id LEFT JOIN category c2_ ON c2_.id = c3_.category_id LEFT JOIN classified_region c5_ ON c0_.id = c5_.classified_id LEFT JOIN region r4_ ON r4_.id = c5_.region_id LEFT JOIN user u6_ ON c0_.user_id = u6_.id WHERE c0_.active = 1 AND c2_.id = 1429;
|
0.37 ms (10.05%)
|
1 |
SELECT f0_.id AS id_0, f0_.name AS name_1, f0_.slug AS slug_2, f0_.type AS type_3, f0_.required AS required_4, f0_.all_categories AS all_categories_5, f0_.search AS search_6, f0_.choices AS choices_7, f0_.position AS position_8 FROM filter f0_ LEFT JOIN category_filter c2_ ON f0_.id = c2_.filter_id LEFT JOIN category c1_ ON c1_.id = c2_.category_id WHERE (c1_.id = ? OR f0_.all_categories = 1) AND f0_.search = 1 ORDER BY f0_.position ASC
SELECT f0_.id AS id_0, f0_.name AS name_1, f0_.slug AS slug_2, f0_.type AS type_3, f0_.required AS required_4, f0_.all_categories AS all_categories_5, f0_.search AS search_6, f0_.choices AS choices_7, f0_.position AS position_8 FROM filter f0_ LEFT JOIN category_filter c2_ ON f0_.id = c2_.filter_id LEFT JOIN category c1_ ON c1_.id = c2_.category_id WHERE (c1_.id = 1429 OR f0_.all_categories = 1) AND f0_.search = 1 ORDER BY f0_.position ASC;
|
0.31 ms (8.47%)
|
1 |
SELECT DISTINCT c0_.id AS id_0, (CASE WHEN c0_.promoted = 1 THEN c0_.promoted_date_start ELSE 0 END) AS sclr_1, c0_.date_start AS date_start_2 FROM classified c0_ LEFT JOIN photo p1_ ON c0_.id = p1_.classified_id LEFT JOIN classified_category c3_ ON c0_.id = c3_.classified_id LEFT JOIN category c2_ ON c2_.id = c3_.category_id LEFT JOIN classified_region c5_ ON c0_.id = c5_.classified_id LEFT JOIN region r4_ ON r4_.id = c5_.region_id LEFT JOIN user u6_ ON c0_.user_id = u6_.id WHERE c0_.active = 1 AND c2_.id = ? ORDER BY sclr_1 DESC, c0_.date_start DESC LIMIT 26
SELECT DISTINCT c0_.id AS id_0, (CASE WHEN c0_.promoted = 1 THEN c0_.promoted_date_start ELSE 0 END) AS sclr_1, c0_.date_start AS date_start_2 FROM classified c0_ LEFT JOIN photo p1_ ON c0_.id = p1_.classified_id LEFT JOIN classified_category c3_ ON c0_.id = c3_.classified_id LEFT JOIN category c2_ ON c2_.id = c3_.category_id LEFT JOIN classified_region c5_ ON c0_.id = c5_.classified_id LEFT JOIN region r4_ ON r4_.id = c5_.region_id LEFT JOIN user u6_ ON c0_.user_id = u6_.id WHERE c0_.active = 1 AND c2_.id = 1429 ORDER BY sclr_1 DESC, c0_.date_start DESC LIMIT 26;
|
0.29 ms (8.04%)
|
1 |
SELECT t0.id AS id_1, t0.position AS position_2, t0.name AS name_3, t0.slug AS slug_4, t0.content AS content_5, t0.description AS description_6, t0.keywords AS keywords_7, t0.contact_form AS contact_form_8, t0.in_footer AS in_footer_9 FROM static_page t0 WHERE t0.in_footer = ? ORDER BY t0.position ASC
SELECT t0.id AS id_1, t0.position AS position_2, t0.name AS name_3, t0.slug AS slug_4, t0.content AS content_5, t0.description AS description_6, t0.keywords AS keywords_7, t0.contact_form AS contact_form_8, t0.in_footer AS in_footer_9 FROM static_page t0 WHERE t0.in_footer = 1 ORDER BY t0.position ASC;
|
0.26 ms (7.21%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.position AS position_5, t0.region_id AS region_id_6 FROM region t0 WHERE t0.region_id IS NULL ORDER BY t0.position ASC
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.position AS position_5, t0.region_id AS region_id_6 FROM region t0 WHERE t0.region_id IS NULL ORDER BY t0.position ASC;
|
0.26 ms (7.16%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.thumb AS thumb_5, t0.content AS content_6, t0.header AS header_7, t0.title AS title_8, t0.description AS description_9, t0.keywords AS keywords_10, t0.position AS position_11, t0.show_price AS show_price_12, t0.cost AS cost_13, t0.category_id AS category_id_14 FROM category t0 WHERE t0.path = ? LIMIT 1
Parameters: [
"mechanika-i-naprawa/sprowadzanie-i-rejestracja-pojazdow"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.path AS path_4, t0.thumb AS thumb_5, t0.content AS content_6, t0.header AS header_7, t0.title AS title_8, t0.description AS description_9, t0.keywords AS keywords_10, t0.position AS position_11, t0.show_price AS show_price_12, t0.cost AS cost_13, t0.category_id AS category_id_14 FROM category t0 WHERE t0.path = 'mechanika-i-naprawa/sprowadzanie-i-rejestracja-pojazdow' LIMIT 1;
|
0.25 ms (6.81%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3 FROM setting t0
SELECT t0.id AS id_1, t0.name AS name_2, t0.value AS value_3 FROM setting t0;
|