| 1 |
2.20 ms |
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;
|
| 2 |
0.55 ms |
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;
|
| 3 |
1.14 ms |
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;
|
| 4 |
0.67 ms |
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;
|
| 5 |
0.82 ms |
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;
|
| 6 |
0.33 ms |
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 = 3 ORDER BY t0.created_at DESC;
|
| 7 |
0.30 ms |
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 = 4 ORDER BY t0.created_at DESC;
|
| 8 |
0.30 ms |
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 = 5 ORDER BY t0.created_at DESC;
|
| 9 |
0.28 ms |
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 = 6 ORDER BY t0.created_at DESC;
|
| 10 |
0.26 ms |
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 = 1 ORDER BY t0.created_at DESC;
|
| 11 |
0.26 ms |
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 = 8 ORDER BY t0.created_at DESC;
|
| 12 |
0.25 ms |
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 = 9 ORDER BY t0.created_at DESC;
|
| 13 |
0.25 ms |
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 = 10 ORDER BY t0.created_at DESC;
|
| 14 |
0.25 ms |
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 = 7 ORDER BY t0.created_at DESC;
|
| 15 |
0.33 ms |
SELECT COUNT(*) FROM plant t0 WHERE t0.is_archived = ?
SELECT COUNT(*) FROM plant t0 WHERE t0.is_archived = 0;
|
| 16 |
0.20 ms |
SELECT COUNT(*) FROM repotting t0
SELECT COUNT(*) FROM repotting t0;
|
| 17 |
0.17 ms |
SELECT COUNT(*) FROM cache_pot t0
SELECT COUNT(*) FROM cache_pot t0;
|