2.81 ms (7.81%)
|
5 |
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.duration AS duration_15, t0.format AS format_16, t0.start_time AS start_time_17, t0.end_time AS end_time_18, t0.youtube_id AS youtube_id_19, t0.created_by_id AS created_by_id_20, t0.updated_by_id AS updated_by_id_21, t0.media FROM media t0 INNER JOIN training_exercise_videos ON t0.id = training_exercise_videos.video_id WHERE training_exercise_videos.exercise_id = ? AND t0.media IN ('video')
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.duration AS duration_15, t0.format AS format_16, t0.start_time AS start_time_17, t0.end_time AS end_time_18, t0.youtube_id AS youtube_id_19, t0.created_by_id AS created_by_id_20, t0.updated_by_id AS updated_by_id_21, t0.media FROM media t0 INNER JOIN training_exercise_videos ON t0.id = training_exercise_videos.video_id WHERE training_exercise_videos.exercise_id = 1188 AND t0.media IN ('video');
|
2.66 ms (7.40%)
|
5 |
SELECT t0.slug AS slug_1, t0.instructions AS instructions_2, t0.short_name AS short_name_3, t0.synonyms AS synonyms_4, t0.guidelines AS guidelines_5, t0.medical_restrictions AS medical_restrictions_6, t0.id AS id_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.name AS name_10, t0.description AS description_11, t0.locale AS locale_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14, t0.translatable_id AS translatable_id_15 FROM training_exercise_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.instructions AS instructions_2, t0.short_name AS short_name_3, t0.synonyms AS synonyms_4, t0.guidelines AS guidelines_5, t0.medical_restrictions AS medical_restrictions_6, t0.id AS id_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.name AS name_10, t0.description AS description_11, t0.locale AS locale_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14, t0.translatable_id AS translatable_id_15 FROM training_exercise_translation t0 WHERE t0.translatable_id = 1188;
|
2.63 ms (7.31%)
|
5 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 INNER JOIN training_exercise_material_rel ON t0.id = training_exercise_material_rel.material_id WHERE training_exercise_material_rel.exercise_id = ?
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 INNER JOIN training_exercise_material_rel ON t0.id = training_exercise_material_rel.material_id WHERE training_exercise_material_rel.exercise_id = 1188;
|
2.56 ms (7.10%)
|
5 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.id = ? AND ((t0.deleted_at IS NULL))
SELECT t0.id AS id_1, t0.token AS token_2, t0.status AS status_3, t0.status_internal AS status_internal_4, t0.public_status AS public_status_5, t0.difficulty AS difficulty_6, t0.focus AS focus_7, t0.execution_type AS execution_type_8, t0.workout_parts AS workout_parts_9, t0.tension_type AS tension_type_10, t0.validate_at AS validate_at_11, t0.is_avatar_default_back_view AS is_avatar_default_back_view_12, t0.grips AS grips_13, t0.is_suggestion AS is_suggestion_14, t0.preferred_gender_view AS preferred_gender_view_15, t0.default_unit AS default_unit_16, t0.side AS side_17, t0.created_at AS created_at_18, t0.updated_at AS updated_at_19, t0.deleted_at AS deleted_at_20, t0.published AS published_21, t0.published_at AS published_at_22, t0.notes AS notes_23, t0.view_counter AS view_counter_24, t0.tiers_id AS tiers_id_25, t0.tiers_name AS tiers_name_26, t0.source AS source_27, t0.source_model AS source_model_28, t0.normalized_name AS normalized_name_29, t0.metaphone_name AS metaphone_name_30, t0.main_exercise_id AS main_exercise_id_31, t0.exercise_group_id AS exercise_group_id_32, t0.suggest_by_id AS suggest_by_id_33, t0.exercise_proposal_id AS exercise_proposal_id_34, t0.created_by_id AS created_by_id_35, t0.updated_by_id AS updated_by_id_36, t0.publisher AS publisher_37 FROM training_exercise t0 WHERE t0.id = 1188 AND ((t0.deleted_at IS NULL));
|
2.47 ms (6.87%)
|
5 |
SELECT t0.notes AS notes_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.locale AS locale_5, t0.created_by_id AS created_by_id_6, t0.updated_by_id AS updated_by_id_7, t0.translatable_id AS translatable_id_8 FROM exercise_config_translation t0 WHERE t0.translatable_id = ?
SELECT t0.notes AS notes_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.locale AS locale_5, t0.created_by_id AS created_by_id_6, t0.updated_by_id AS updated_by_id_7, t0.translatable_id AS translatable_id_8 FROM exercise_config_translation t0 WHERE t0.translatable_id = 1541;
|
2.26 ms (6.29%)
|
5 |
SELECT t0.unit AS unit_1, t0.value_min AS value_min_2, t0.value_max AS value_max_3, t0.until_failure AS until_failure_4, t0.tempo AS tempo_5, t0.rest_time AS rest_time_6, t0.weight_min AS weight_min_7, t0.weight_max AS weight_max_8, t0.id AS id_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.exercise_config_id AS exercise_config_id_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14 FROM exercise_serie_config t0 WHERE t0.exercise_config_id = ?
SELECT t0.unit AS unit_1, t0.value_min AS value_min_2, t0.value_max AS value_max_3, t0.until_failure AS until_failure_4, t0.tempo AS tempo_5, t0.rest_time AS rest_time_6, t0.weight_min AS weight_min_7, t0.weight_max AS weight_max_8, t0.id AS id_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11, t0.exercise_config_id AS exercise_config_id_12, t0.created_by_id AS created_by_id_13, t0.updated_by_id AS updated_by_id_14 FROM exercise_serie_config t0 WHERE t0.exercise_config_id = 1541;
|
2.10 ms (5.83%)
|
5 |
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_muscle ON t0.id = training_exercise_muscle.muscle_id WHERE training_exercise_muscle.exercise_id = ?
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 INNER JOIN training_exercise_muscle ON t0.id = training_exercise_muscle.muscle_id WHERE training_exercise_muscle.exercise_id = 1188;
|
1.81 ms (5.03%)
|
6 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_category_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_category_translation t0 WHERE t0.translatable_id = 56;
|
1.76 ms (4.90%)
|
5 |
SELECT COUNT(*) FROM training_exercise_images t WHERE t.exercise_id = ?
SELECT COUNT(*) FROM training_exercise_images t WHERE t.exercise_id = 1188;
|
1.63 ms (4.53%)
|
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.duration_weeks AS duration_weeks_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.archived AS archived_6, t0.view_counter AS view_counter_7, t0.source AS source_8, t0.source_model AS source_model_9, t0.created_by_id AS created_by_id_10, t0.preferences_id AS preferences_id_11, t12.genders AS genders_13, t12.fitness_level AS fitness_level_14, t12.primary_goal AS primary_goal_15, t12.target_weight AS target_weight_16, t12.equipment_type AS equipment_type_17, t12.workout_days AS workout_days_18, t12.workout_duration AS workout_duration_19, t12.sedentary_level AS sedentary_level_20, t12.sleep_quality AS sleep_quality_21, t12.stress_level AS stress_level_22, t12.imbalances AS imbalances_23, t12.injuries AS injuries_24, t12.context AS context_25, t12.id AS id_26, t12.created_at AS created_at_27, t12.updated_at AS updated_at_28, t12.created_by_id AS created_by_id_29, t12.updated_by_id AS updated_by_id_30, t0.updated_by_id AS updated_by_id_31, t0.type, t0.visibility AS visibility_32, t0.start_at AS start_at_33, t0.end_at AS end_at_34, t0.assignee_id AS assignee_id_35, t0.free AS free_36, t0.pinned AS pinned_37, t0.published AS published_38, t0.published_at AS published_at_39, t0.publisher AS publisher_40 FROM program t0 LEFT JOIN training_preferences t12 ON t0.preferences_id = t12.id WHERE t0.id = ? AND t0.type IN ('user', 'template')
SELECT
t0.id AS id_1,
t0.token AS token_2,
t0.duration_weeks AS duration_weeks_3,
t0.created_at AS created_at_4,
t0.updated_at AS updated_at_5,
t0.archived AS archived_6,
t0.view_counter AS view_counter_7,
t0.source AS source_8,
t0.source_model AS source_model_9,
t0.created_by_id AS created_by_id_10,
t0.preferences_id AS preferences_id_11,
t12.genders AS genders_13,
t12.fitness_level AS fitness_level_14,
t12.primary_goal AS primary_goal_15,
t12.target_weight AS target_weight_16,
t12.equipment_type AS equipment_type_17,
t12.workout_days AS workout_days_18,
t12.workout_duration AS workout_duration_19,
t12.sedentary_level AS sedentary_level_20,
t12.sleep_quality AS sleep_quality_21,
t12.stress_level AS stress_level_22,
t12.imbalances AS imbalances_23,
t12.injuries AS injuries_24,
t12.context AS context_25,
t12.id AS id_26,
t12.created_at AS created_at_27,
t12.updated_at AS updated_at_28,
t12.created_by_id AS created_by_id_29,
t12.updated_by_id AS updated_by_id_30,
t0.updated_by_id AS updated_by_id_31,
t0.type,
t0.visibility AS visibility_32,
t0.start_at AS start_at_33,
t0.end_at AS end_at_34,
t0.assignee_id AS assignee_id_35,
t0.free AS free_36,
t0.pinned AS pinned_37,
t0.published AS published_38,
t0.published_at AS published_at_39,
t0.publisher AS publisher_40
FROM
program t0
LEFT JOIN training_preferences t12 ON t0.preferences_id = t12.id
WHERE
t0.id = ?
AND t0.type IN ('user', 'template')
SELECT t0.id AS id_1, t0.token AS token_2, t0.duration_weeks AS duration_weeks_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.archived AS archived_6, t0.view_counter AS view_counter_7, t0.source AS source_8, t0.source_model AS source_model_9, t0.created_by_id AS created_by_id_10, t0.preferences_id AS preferences_id_11, t12.genders AS genders_13, t12.fitness_level AS fitness_level_14, t12.primary_goal AS primary_goal_15, t12.target_weight AS target_weight_16, t12.equipment_type AS equipment_type_17, t12.workout_days AS workout_days_18, t12.workout_duration AS workout_duration_19, t12.sedentary_level AS sedentary_level_20, t12.sleep_quality AS sleep_quality_21, t12.stress_level AS stress_level_22, t12.imbalances AS imbalances_23, t12.injuries AS injuries_24, t12.context AS context_25, t12.id AS id_26, t12.created_at AS created_at_27, t12.updated_at AS updated_at_28, t12.created_by_id AS created_by_id_29, t12.updated_by_id AS updated_by_id_30, t0.updated_by_id AS updated_by_id_31, t0.type, t0.visibility AS visibility_32, t0.start_at AS start_at_33, t0.end_at AS end_at_34, t0.assignee_id AS assignee_id_35, t0.free AS free_36, t0.pinned AS pinned_37, t0.published AS published_38, t0.published_at AS published_at_39, t0.publisher AS publisher_40 FROM program t0 LEFT JOIN training_preferences t12 ON t0.preferences_id = t12.id WHERE t0.id = 163 AND t0.type IN ('user', 'template');
|
1.55 ms (4.30%)
|
3 |
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN training_exercise_images ON t0.id = training_exercise_images.image_id WHERE training_exercise_images.exercise_id = ? AND t0.media IN ('image')
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN training_exercise_images ON t0.id = training_exercise_images.image_id WHERE training_exercise_images.exercise_id = 142 AND t0.media IN ('image');
|
1.38 ms (3.83%)
|
3 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM muscle_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM muscle_translation t0 WHERE t0.translatable_id = 6;
|
1.32 ms (3.67%)
|
3 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.body AS body_6, t0.description AS description_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11, t0.type FROM workout_translation t0 WHERE t0.translatable_id = ? AND t0.type IN ('template')
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.body AS body_6, t0.description AS description_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11, t0.type FROM workout_translation t0 WHERE t0.translatable_id = 355 AND t0.type IN ('template');
|
1.14 ms (3.16%)
|
3 |
SELECT t0.name AS name_1, t0.caption AS caption_2, t0.alt AS alt_3, t0.copyright AS copyright_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11 FROM media_translation t0 WHERE t0.translatable_id = ?
SELECT t0.name AS name_1, t0.caption AS caption_2, t0.alt AS alt_3, t0.copyright AS copyright_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11 FROM media_translation t0 WHERE t0.translatable_id = 228;
|
1.09 ms (3.04%)
|
2 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.exercise_id AS exercise_id_4, t0.workout_id AS workout_id_5, t0.workout_block_id AS workout_block_id_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8 FROM exercise_config t0 WHERE t0.workout_block_id = ?
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.exercise_id AS exercise_id_4, t0.workout_id AS workout_id_5, t0.workout_block_id AS workout_block_id_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8 FROM exercise_config t0 WHERE t0.workout_block_id = 259;
|
1.06 ms (2.95%)
|
4 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.locale AS locale_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.translatable_id AS translatable_id_9 FROM training_exercise_group_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.locale AS locale_6, t0.created_by_id AS created_by_id_7, t0.updated_by_id AS updated_by_id_8, t0.translatable_id AS translatable_id_9 FROM training_exercise_group_translation t0 WHERE t0.translatable_id = 1;
|
1.03 ms (2.86%)
|
1 |
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.body AS body_6, t0.description AS description_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11, t0.type FROM program_translation t0 WHERE t0.translatable_id = ? AND t0.type IN ('template')
SELECT t0.name AS name_1, t0.slug AS slug_2, t0.id AS id_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.body AS body_6, t0.description AS description_7, t0.locale AS locale_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.translatable_id AS translatable_id_11, t0.type FROM program_translation t0 WHERE t0.translatable_id = 163 AND t0.type IN ('template');
|
0.87 ms (2.41%)
|
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.day AS day_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.view_counter AS view_counter_6, t0.source AS source_7, t0.source_model AS source_model_8, t0.program_id AS program_id_9, t0.created_by_id AS created_by_id_10, t0.updated_by_id AS updated_by_id_11, t0.type, t0.published AS published_12, t0.published_at AS published_at_13, t0.publisher AS publisher_14 FROM workout t0 WHERE t0.token = ? AND t0.type IN ('user', 'template') LIMIT 1
Parameters: [
"68629c85effc5"
]
SELECT t0.id AS id_1, t0.token AS token_2, t0.day AS day_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.view_counter AS view_counter_6, t0.source AS source_7, t0.source_model AS source_model_8, t0.program_id AS program_id_9, t0.created_by_id AS created_by_id_10, t0.updated_by_id AS updated_by_id_11, t0.type, t0.published AS published_12, t0.published_at AS published_at_13, t0.publisher AS publisher_14 FROM workout t0 WHERE t0.token = '68629c85effc5' AND t0.type IN ('user', 'template') LIMIT 1;
|
0.78 ms (2.17%)
|
1 |
SELECT t0.id AS id_1, t0.token AS token_2, t0.day AS day_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.view_counter AS view_counter_6, t0.source AS source_7, t0.source_model AS source_model_8, t0.program_id AS program_id_9, t0.created_by_id AS created_by_id_10, t0.updated_by_id AS updated_by_id_11, t0.type, t0.published AS published_12, t0.published_at AS published_at_13, t0.publisher AS publisher_14 FROM workout t0 WHERE t0.program_id = ? AND t0.type IN ('user', 'template')
SELECT t0.id AS id_1, t0.token AS token_2, t0.day AS day_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.view_counter AS view_counter_6, t0.source AS source_7, t0.source_model AS source_model_8, t0.program_id AS program_id_9, t0.created_by_id AS created_by_id_10, t0.updated_by_id AS updated_by_id_11, t0.type, t0.published AS published_12, t0.published_at AS published_at_13, t0.publisher AS publisher_14 FROM workout t0 WHERE t0.program_id = 163 AND t0.type IN ('user', 'template');
|
0.64 ms (1.78%)
|
2 |
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_material_translation t0 WHERE t0.translatable_id = ?
SELECT t0.slug AS slug_1, t0.id AS id_2, t0.created_at AS created_at_3, t0.updated_at AS updated_at_4, t0.name AS name_5, t0.description AS description_6, t0.locale AS locale_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9, t0.translatable_id AS translatable_id_10 FROM training_material_translation t0 WHERE t0.translatable_id = 1;
|
0.63 ms (1.76%)
|
1 |
SELECT t0.section AS section_1, t0.type AS type_2, t0.metadata AS metadata_3, t0.id AS id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.workout_id AS workout_id_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9 FROM workout_block t0 WHERE t0.workout_id = ?
SELECT t0.section AS section_1, t0.type AS type_2, t0.metadata AS metadata_3, t0.id AS id_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.workout_id AS workout_id_7, t0.created_by_id AS created_by_id_8, t0.updated_by_id AS updated_by_id_9 FROM workout_block t0 WHERE t0.workout_id = 355;
|
0.48 ms (1.34%)
|
1 |
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN workout_images ON t0.id = workout_images.image_id WHERE workout_images.workout_id = ? AND t0.media IN ('image') LIMIT 1
SELECT t0.source AS source_1, t0.zone AS zone_2, t0.url_external AS url_external_3, t0.id AS id_4, t0.notes AS notes_5, t0.tiers_id AS tiers_id_6, t0.tiers_name AS tiers_name_7, t0.created_at AS created_at_8, t0.updated_at AS updated_at_9, t0.file_name AS file_name_10, t0.file_original_name AS file_original_name_11, t0.file_mime_type AS file_mime_type_12, t0.file_size AS file_size_13, t0.file_dimensions AS file_dimensions_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.media FROM media t0 INNER JOIN workout_images ON t0.id = workout_images.image_id WHERE workout_images.workout_id = 355 AND t0.media IN ('image') LIMIT 1;
|
0.36 ms (1.00%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 WHERE t0.id IN (?, ?, ?, ?, ?, ?)
Parameters: [
67
68
57
56
62
60
]
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.sections AS sections_4, t0.id AS id_5, t0.created_at AS created_at_6, t0.updated_at AS updated_at_7, t0.published AS published_8, t0.published_at AS published_at_9, t0.notes AS notes_10, t0.reference AS reference_11, t0.tree_root AS tree_root_12, t0.parent_id AS parent_id_13, t0.created_by_id AS created_by_id_14, t0.updated_by_id AS updated_by_id_15, t0.publisher AS publisher_16 FROM training_category t0 WHERE t0.id IN (67, 68, 57, 56, 62, 60);
|
0.34 ms (0.93%)
|
1 |
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 WHERE t0.id IN (?, ?)
SELECT t0.lft AS lft_1, t0.lvl AS lvl_2, t0.rgt AS rgt_3, t0.categories AS categories_4, t0.equipment AS equipment_5, t0.exclude_from_equipments AS exclude_from_equipments_6, t0.group_item AS group_item_7, t0.id AS id_8, t0.created_at AS created_at_9, t0.updated_at AS updated_at_10, t0.published AS published_11, t0.published_at AS published_at_12, t0.notes AS notes_13, t0.reference AS reference_14, t0.tree_root AS tree_root_15, t0.parent_id AS parent_id_16, t0.created_by_id AS created_by_id_17, t0.updated_by_id AS updated_by_id_18, t0.publisher AS publisher_19 FROM training_material t0 WHERE t0.id IN (29, 1);
|
0.32 ms (0.90%)
|
1 |
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 WHERE t0.id IN (?)
SELECT t0.body_parts AS body_parts_1, t0.is_on_avatar AS is_on_avatar_2, t0.lft AS lft_3, t0.lvl AS lvl_4, t0.rgt AS rgt_5, t0.id AS id_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.published AS published_9, t0.published_at AS published_at_10, t0.notes AS notes_11, t0.reference AS reference_12, t0.tree_root AS tree_root_13, t0.parent_id AS parent_id_14, t0.created_by_id AS created_by_id_15, t0.updated_by_id AS updated_by_id_16, t0.publisher AS publisher_17 FROM muscle t0 WHERE t0.id IN (6);
|
0.30 ms (0.83%)
|
1 |
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.normalized_name AS normalized_name_6, t0.metaphone_name AS metaphone_name_7, t0.token AS token_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.publisher AS publisher_11 FROM training_exercise_group t0 WHERE t0.id IN (?, ?, ?, ?)
SELECT t0.id AS id_1, t0.created_at AS created_at_2, t0.updated_at AS updated_at_3, t0.published AS published_4, t0.published_at AS published_at_5, t0.normalized_name AS normalized_name_6, t0.metaphone_name AS metaphone_name_7, t0.token AS token_8, t0.created_by_id AS created_by_id_9, t0.updated_by_id AS updated_by_id_10, t0.publisher AS publisher_11 FROM training_exercise_group t0 WHERE t0.id IN (2, 4, 17, 1);
|