3.29 ms (38.54%)
|
10 |
SELECT t0.id AS id_1, t0.path AS path_2, t0.original_filename AS original_filename_3, t0.caption AS caption_4, t0.taken_at AS taken_at_5, t0.is_cover AS is_cover_6, t0.created_at AS created_at_7, t0.plant_id AS plant_id_8 FROM plant_photo t0 WHERE t0.plant_id = ? ORDER BY t0.created_at DESC
SELECT t0.id AS id_1, t0.path AS path_2, t0.original_filename AS original_filename_3, t0.caption AS caption_4, t0.taken_at AS taken_at_5, t0.is_cover AS is_cover_6, t0.created_at AS created_at_7, t0.plant_id AS plant_id_8 FROM plant_photo t0 WHERE t0.plant_id = 2 ORDER BY t0.created_at DESC;
|
2.20 ms (25.73%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.species AS species_3, t0.location AS location_4, t0.environment AS environment_5, t0.notes AS notes_6, t0.current_pot_diameter AS current_pot_diameter_7, t0.current_pot_height AS current_pot_height_8, t0.acquired_at AS acquired_at_9, t0.last_repotting_at AS last_repotting_at_10, t0.next_repotting_at AS next_repotting_at_11, t0.is_archived AS is_archived_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14 FROM plant t0 WHERE t0.is_archived = ? ORDER BY t0.updated_at DESC LIMIT 16
SELECT t0.id AS id_1, t0.name AS name_2, t0.species AS species_3, t0.location AS location_4, t0.environment AS environment_5, t0.notes AS notes_6, t0.current_pot_diameter AS current_pot_diameter_7, t0.current_pot_height AS current_pot_height_8, t0.acquired_at AS acquired_at_9, t0.last_repotting_at AS last_repotting_at_10, t0.next_repotting_at AS next_repotting_at_11, t0.is_archived AS is_archived_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14 FROM plant t0 WHERE t0.is_archived = 0 ORDER BY t0.updated_at DESC LIMIT 16;
|
1.14 ms (13.40%)
|
1 |
SELECT t0.id AS id_1, t0.repotted_at AS repotted_at_2, t0.previous_pot_diameter AS previous_pot_diameter_3, t0.previous_pot_height AS previous_pot_height_4, t0.new_pot_diameter AS new_pot_diameter_5, t0.new_pot_height AS new_pot_height_6, t0.substrate AS substrate_7, t0.notes AS notes_8, t0.created_at AS created_at_9, t0.plant_id AS plant_id_10 FROM repotting t0 ORDER BY t0.repotted_at DESC LIMIT 4
SELECT t0.id AS id_1, t0.repotted_at AS repotted_at_2, t0.previous_pot_diameter AS previous_pot_diameter_3, t0.previous_pot_height AS previous_pot_height_4, t0.new_pot_diameter AS new_pot_diameter_5, t0.new_pot_height AS new_pot_height_6, t0.substrate AS substrate_7, t0.notes AS notes_8, t0.created_at AS created_at_9, t0.plant_id AS plant_id_10 FROM repotting t0 ORDER BY t0.repotted_at DESC LIMIT 4;
|
0.67 ms (7.82%)
|
1 |
SELECT t0.id AS id_1, t0.photo_path AS photo_path_2, t0.original_filename AS original_filename_3, t0.diameter AS diameter_4, t0.height AS height_5, t0.notes AS notes_6, t0.created_at AS created_at_7, t0.plant_id AS plant_id_8 FROM cache_pot t0 ORDER BY t0.created_at DESC LIMIT 4
SELECT t0.id AS id_1, t0.photo_path AS photo_path_2, t0.original_filename AS original_filename_3, t0.diameter AS diameter_4, t0.height AS height_5, t0.notes AS notes_6, t0.created_at AS created_at_7, t0.plant_id AS plant_id_8 FROM cache_pot t0 ORDER BY t0.created_at DESC LIMIT 4;
|
0.55 ms (6.39%)
|
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.species AS species_3, t0.location AS location_4, t0.environment AS environment_5, t0.notes AS notes_6, t0.current_pot_diameter AS current_pot_diameter_7, t0.current_pot_height AS current_pot_height_8, t0.acquired_at AS acquired_at_9, t0.last_repotting_at AS last_repotting_at_10, t0.next_repotting_at AS next_repotting_at_11, t0.is_archived AS is_archived_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14 FROM plant t0 WHERE t0.is_archived = ? ORDER BY t0.created_at DESC LIMIT 4
SELECT t0.id AS id_1, t0.name AS name_2, t0.species AS species_3, t0.location AS location_4, t0.environment AS environment_5, t0.notes AS notes_6, t0.current_pot_diameter AS current_pot_diameter_7, t0.current_pot_height AS current_pot_height_8, t0.acquired_at AS acquired_at_9, t0.last_repotting_at AS last_repotting_at_10, t0.next_repotting_at AS next_repotting_at_11, t0.is_archived AS is_archived_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14 FROM plant t0 WHERE t0.is_archived = 0 ORDER BY t0.created_at DESC LIMIT 4;
|
0.33 ms (3.84%)
|
1 |
SELECT COUNT(*) FROM plant t0 WHERE t0.is_archived = ?
SELECT COUNT(*) FROM plant t0 WHERE t0.is_archived = 0;
|
0.20 ms (2.28%)
|
1 |
SELECT COUNT(*) FROM repotting t0
SELECT COUNT(*) FROM repotting t0;
|
0.17 ms (2.00%)
|
1 |
SELECT COUNT(*) FROM cache_pot t0
SELECT COUNT(*) FROM cache_pot t0;
|