1 |
1.33 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
2 |
1.16 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
3 |
2.13 ms |
SELECT v0_.id AS id_0, v0_.construction_year AS construction_year_1, v0_.labeling AS labeling_2, v0_.article_number AS article_number_3, v0_.purchased_at AS purchased_at_4, v0_.storage_location AS storage_location_5, v0_.condition_rating AS condition_rating_6, v0_.approved AS approved_7, v0_.visible AS visible_8, v0_.status AS status_9, v0_.description AS description_10, v0_.brand_id AS brand_id_11, v0_.design_type_id AS design_type_id_12, v0_.bottom_embossing_id AS bottom_embossing_id_13, v0_.type_id AS type_id_14, v0_.tire_type_id AS tire_type_id_15, v0_.scale_id AS scale_id_16, v0_.series_id AS series_id_17, v0_.manufacturer_id AS manufacturer_id_18, v0_.category_id AS category_id_19 FROM vehicle v0_ LEFT JOIN design_type d1_ ON v0_.design_type_id = d1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN type t3_ ON v0_.type_id = t3_.id WHERE d1_.slug = ? AND s2_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t3_.name ASC LIMIT 20
Parameters: [
"5-ambulance"
"26-1-89"
1
"collection"
1
]
SELECT v0_.id AS id_0, v0_.construction_year AS construction_year_1, v0_.labeling AS labeling_2, v0_.article_number AS article_number_3, v0_.purchased_at AS purchased_at_4, v0_.storage_location AS storage_location_5, v0_.condition_rating AS condition_rating_6, v0_.approved AS approved_7, v0_.visible AS visible_8, v0_.status AS status_9, v0_.description AS description_10, v0_.brand_id AS brand_id_11, v0_.design_type_id AS design_type_id_12, v0_.bottom_embossing_id AS bottom_embossing_id_13, v0_.type_id AS type_id_14, v0_.tire_type_id AS tire_type_id_15, v0_.scale_id AS scale_id_16, v0_.series_id AS series_id_17, v0_.manufacturer_id AS manufacturer_id_18, v0_.category_id AS category_id_19 FROM vehicle v0_ LEFT JOIN design_type d1_ ON v0_.design_type_id = d1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN type t3_ ON v0_.type_id = t3_.id WHERE d1_.slug = '5-ambulance' AND s2_.slug = '26-1-89' AND v0_.visible = 1 AND v0_.status = 'collection' AND v0_.approved = 1 ORDER BY t3_.name ASC LIMIT 20;
|
4 |
7.56 ms |
SELECT COUNT(v0_.id) AS sclr_0 FROM vehicle v0_ LEFT JOIN design_type d1_ ON v0_.design_type_id = d1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN type t3_ ON v0_.type_id = t3_.id WHERE d1_.slug = ? AND s2_.slug = ? AND v0_.visible = ? AND v0_.status = ? AND v0_.approved = ? ORDER BY t3_.name ASC
Parameters: [
"5-ambulance"
"26-1-89"
1
"collection"
1
]
SELECT COUNT(v0_.id) AS sclr_0 FROM vehicle v0_ LEFT JOIN design_type d1_ ON v0_.design_type_id = d1_.id LEFT JOIN scale s2_ ON v0_.scale_id = s2_.id LEFT JOIN type t3_ ON v0_.type_id = t3_.id WHERE d1_.slug = '5-ambulance' AND s2_.slug = '26-1-89' AND v0_.visible = 1 AND v0_.status = 'collection' AND v0_.approved = 1 ORDER BY t3_.name ASC;
|
5 |
1.17 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
6 |
8.14 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
7 |
1.62 ms |
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2 FROM brand b0_ LEFT JOIN vehicle v1_ ON (v1_.brand_id = b0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND d2_.slug = ? AND s3_.slug = ? ORDER BY b0_.name ASC
Parameters: [
"collection"
1
1
"5-ambulance"
"26-1-89"
]
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2 FROM brand b0_ LEFT JOIN vehicle v1_ ON (v1_.brand_id = b0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND d2_.slug = '5-ambulance' AND s3_.slug = '26-1-89' ORDER BY b0_.name ASC;
|
8 |
3.67 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
9 |
2.03 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
10 |
3.18 ms |
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.slug AS slug_2 FROM type t0_ LEFT JOIN vehicle v1_ ON (v1_.type_id = t0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND d2_.slug = ? AND s3_.slug = ? ORDER BY t0_.name ASC
Parameters: [
"collection"
1
1
"5-ambulance"
"26-1-89"
]
SELECT t0_.id AS id_0, t0_.name AS name_1, t0_.slug AS slug_2 FROM type t0_ LEFT JOIN vehicle v1_ ON (v1_.type_id = t0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND d2_.slug = '5-ambulance' AND s3_.slug = '26-1-89' ORDER BY t0_.name ASC;
|
11 |
1.09 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
12 |
1.87 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
13 |
4.93 ms |
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2 FROM manufacturer m0_ LEFT JOIN vehicle v1_ ON (v1_.manufacturer_id = m0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND d2_.slug = ? AND s3_.slug = ? ORDER BY m0_.name ASC
Parameters: [
"collection"
1
1
"5-ambulance"
"26-1-89"
]
SELECT m0_.id AS id_0, m0_.name AS name_1, m0_.slug AS slug_2 FROM manufacturer m0_ LEFT JOIN vehicle v1_ ON (v1_.manufacturer_id = m0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND d2_.slug = '5-ambulance' AND s3_.slug = '26-1-89' ORDER BY m0_.name ASC;
|
14 |
1.26 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
15 |
1.79 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.slug AS slug_2 FROM design_type d0_ LEFT JOIN vehicle v1_ ON (v1_.design_type_id = d0_.id) LEFT JOIN scale s2_ ON (s2_.id = v1_.scale_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND s2_.slug = ? ORDER BY d0_.name ASC
Parameters: [
"collection"
1
1
"26-1-89"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.slug AS slug_2 FROM design_type d0_ LEFT JOIN vehicle v1_ ON (v1_.design_type_id = d0_.id) LEFT JOIN scale s2_ ON (s2_.id = v1_.scale_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND s2_.slug = '26-1-89' ORDER BY d0_.name ASC;
|
16 |
1.98 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
17 |
1.83 ms |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM scale s0_ LEFT JOIN vehicle v1_ ON (v1_.scale_id = s0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND d2_.slug = ? ORDER BY s0_.name ASC
Parameters: [
"collection"
1
1
"5-ambulance"
]
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM scale s0_ LEFT JOIN vehicle v1_ ON (v1_.scale_id = s0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND d2_.slug = '5-ambulance' ORDER BY s0_.name ASC;
|
18 |
1.46 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
19 |
7.08 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
20 |
3.52 ms |
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM series s0_ LEFT JOIN vehicle v1_ ON (v1_.series_id = s0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = ? AND v1_.approved = ? AND v1_.visible = ? AND d2_.slug = ? AND s3_.slug = ? ORDER BY s0_.name ASC
Parameters: [
"collection"
1
1
"5-ambulance"
"26-1-89"
]
SELECT s0_.id AS id_0, s0_.name AS name_1, s0_.slug AS slug_2 FROM series s0_ LEFT JOIN vehicle v1_ ON (v1_.series_id = s0_.id) LEFT JOIN design_type d2_ ON (d2_.id = v1_.design_type_id) LEFT JOIN scale s3_ ON (s3_.id = v1_.scale_id) WHERE v1_.status = 'collection' AND v1_.approved = 1 AND v1_.visible = 1 AND d2_.slug = '5-ambulance' AND s3_.slug = '26-1-89' ORDER BY s0_.name ASC;
|
21 |
4.38 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
22 |
1.13 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
23 |
2.56 ms |
SELECT v0_.construction_year AS construction_year_0 FROM vehicle v0_ LEFT JOIN design_type d1_ ON (d1_.id = v0_.design_type_id) LEFT JOIN scale s2_ ON (s2_.id = v0_.scale_id) WHERE v0_.construction_year IS NOT NULL AND v0_.construction_year <> 0 AND v0_.status = ? AND v0_.approved = ? AND v0_.visible = ? AND d1_.slug = ? AND s2_.slug = ? GROUP BY v0_.construction_year ORDER BY v0_.construction_year ASC
Parameters: [
"collection"
1
1
"5-ambulance"
"26-1-89"
]
SELECT v0_.construction_year AS construction_year_0 FROM vehicle v0_ LEFT JOIN design_type d1_ ON (d1_.id = v0_.design_type_id) LEFT JOIN scale s2_ ON (s2_.id = v0_.scale_id) WHERE v0_.construction_year IS NOT NULL AND v0_.construction_year <> 0 AND v0_.status = 'collection' AND v0_.approved = 1 AND v0_.visible = 1 AND d1_.slug = '5-ambulance' AND s2_.slug = '26-1-89' GROUP BY v0_.construction_year ORDER BY v0_.construction_year ASC;
|
24 |
1.11 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"5-ambulance"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM design_type t0 WHERE t0.slug = '5-ambulance' LIMIT 1;
|
25 |
3.32 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"26-1-89"
]
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3 FROM scale t0 WHERE t0.slug = '26-1-89' LIMIT 1;
|
26 |
34.81 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_original AS name_original_3, t0.mime_type AS mime_type_4, t0.path AS path_5, t0.path_base AS path_base_6, t0.category AS category_7, t0.vehicle_id AS vehicle_id_8, t0.article_id AS article_id_9 FROM file t0 WHERE t0.vehicle_id = ? ORDER BY t0.name_original ASC
SELECT t0.id AS id_1, t0.name AS name_2, t0.name_original AS name_original_3, t0.mime_type AS mime_type_4, t0.path AS path_5, t0.path_base AS path_base_6, t0.category AS category_7, t0.vehicle_id AS vehicle_id_8, t0.article_id AS article_id_9 FROM file t0 WHERE t0.vehicle_id = 1091 ORDER BY t0.name_original ASC;
|