1 | SELECT `Role`.`name`, `Role`.`permissions` FROM `roles` AS `Role` WHERE 1 = 1 | | 5 | 5 | 2 |
2 | SELECT `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification`, `Role`.`id`, `Role`.`name`, `Role`.`permissions`, `Role`.`description`, `Role`.`created`, `Role`.`modified` FROM `users` AS `User` LEFT JOIN `roles` AS `Role` ON (`User`.`role_id` = `Role`.`id`) WHERE `login` = 'guest@architectuul.com' LIMIT 1 | | 1 | 1 | 22 |
3 | SELECT COUNT(*) AS `count` FROM `users` AS `User` WHERE `User`.`id` = '7e59ae88-ffa7-11de-b287-4f8fe1b9fcc1' | | 1 | 1 | 2 |
4 | SELECT COUNT(*) AS `count` FROM `users` AS `User` WHERE `User`.`id` = '7e59ae88-ffa7-11de-b287-4f8fe1b9fcc1' | | 1 | 1 | 2 |
5 | UPDATE `users` SET `id` = '7e59ae88-ffa7-11de-b287-4f8fe1b9fcc1', `last_login` = '2019-12-08 22:25:45', `modified` = '2019-12-08 22:25:45' WHERE `users`.`id` = '7e59ae88-ffa7-11de-b287-4f8fe1b9fcc1' | | 1 | | 3 |
6 | SELECT `Architect`.`title`, `Architect`.`slug` FROM `architects` AS `Architect` WHERE `Architect`.`deleted` <> 1 ORDER BY Rand() ASC LIMIT 1 | | 1 | 1 | 11 |
7 | SELECT `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification`, `Country`.`name`, `State`.`name` FROM `users` AS `User` LEFT JOIN `countries` AS `Country` ON (`User`.`country_id` = `Country`.`id`) LEFT JOIN `states` AS `State` ON (`User`.`state_id` = `State`.`id`) WHERE `User`.`slug` = 'estudio-galera' AND `User`.`cancelled` is null LIMIT 1 | | 1 | 1 | 11 |
8 | SELECT `TopList`.`id`, `TopList`.`title`, `TopList`.`slug`, `TopList`.`user_id`, `TopList`.`created` FROM `top_lists` AS `TopList` WHERE `user_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' ORDER BY `title` asc | | 2 | 2 | 3 |
9 | SELECT `TopListItem`.`model`, `TopListItem`.`foreign_id`, `TopListItem`.`top_list_id` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`top_list_id` = ('5b3b7d9e-6b70-44dc-b3af-255d6d7b5e1b') ORDER BY `TopListItem`.`created` ASC LIMIT 1 | | 0 | 0 | 4 |
10 | SELECT `TopListItem`.`model`, `TopListItem`.`foreign_id`, `TopListItem`.`top_list_id` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`top_list_id` = ('5b3b7d9f-20d4-44f8-a840-24a66d7b5e1b') ORDER BY `TopListItem`.`created` ASC LIMIT 1 | | 0 | 0 | 4 |
11 | SELECT `TopList`.`id`, `TopList`.`title`, `TopList`.`slug`, `TopList`.`user_id`, `TopList`.`created`, `User`.`username`, `User`.`slug` FROM `top_lists` AS `TopList` LEFT JOIN `users` AS `User` ON (`TopList`.`user_id` = `User`.`id`) WHERE `TopList`.`user_id` <> '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' ORDER BY `title` asc LIMIT 1 | | 1 | 1 | 3 |
12 | SELECT `User`.`username`, `User`.`slug` FROM `users` AS `User` WHERE `User`.`id` = '5a64e2ec-7f5c-48e8-afec-22d36d7b5e1b' | | 1 | 1 | 2 |
13 | SELECT `TopListItem`.`model`, `TopListItem`.`foreign_id`, `TopListItem`.`top_list_id` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`top_list_id` = ('5a7f585f-6374-453d-901c-3e126d7b5e1b') ORDER BY `TopListItem`.`created` ASC LIMIT 1 | | 1 | 1 | 7 |
14 | SELECT `Architecture`.`id`, `Architecture`.`title` FROM `architectures` AS `Architecture` WHERE `Architecture`.`id` = '4caa0b8f-7124-4b4b-a897-3052183d6281' | | 0 | 0 | 2 |
15 | SELECT `Architect`.`id`, `Architect`.`title` FROM `architects` AS `Architect` WHERE `Architect`.`id` = '4caa0b8f-7124-4b4b-a897-3052183d6281' | | 1 | 1 | 2 |
16 | SELECT `Image`.`md_url`, `Image`.`sm_url`, `Image`.`id`, `Image`.`foreign_id` FROM `images` AS `Image` WHERE `Image`.`foreign_id` = ('4caa0b8f-7124-4b4b-a897-3052183d6281') ORDER BY `_order` asc, `created` asc LIMIT 1 | | 1 | 1 | 27 |
17 | SELECT COUNT(*) AS `count` FROM `feeds` AS `Feed` WHERE `Feed`.`user_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' AND DATE_FORMAT(`Feed`.`created`, '%Y-%m-%d') >= '2019-12-05 00:00' | | 1 | 1 | 15 |
18 | SELECT `Feed`.`id`, `Feed`.`type`, `Feed`.`user_id`, `Feed`.`model`, `Feed`.`foreign_id`, `Feed`.`created`, `TopListItem`.`id`, `TopListItem`.`top_list_id`, `TopListItem`.`foreign_id`, `TopListItem`.`model`, `TopListItem`.`user_id`, `TopListItem`.`weight`, `TopListItem`.`created`, `Architect`.`title`, `Architect`.`slug`, `Architect`.`deleted`, `Architecture`.`title`, `Architecture`.`slug`, `Architecture`.`deleted`, `Architecture`.`city`, `Architecture`.`country_id`, `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id`, `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification` FROM `feeds` AS `Feed` LEFT JOIN `top_list_items` AS `TopListItem` ON (`Feed`.`foreign_id` = `TopListItem`.`id`) LEFT JOIN `architects` AS `Architect` ON (`Feed`.`foreign_id` = `Architect`.`id`) LEFT JOIN `architectures` AS `Architecture` ON (`Feed`.`foreign_id` = `Architecture`.`id`) LEFT JOIN `comments` AS `Comment` ON (`Feed`.`foreign_id` = `Comment`.`id`) LEFT JOIN `users` AS `User` ON (`Feed`.`user_id` = `User`.`id`) WHERE `Feed`.`user_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' ORDER BY `Feed`.`created` desc LIMIT 3 | | 3 | 3 | 26 |
19 | SELECT `TopListItem`.`id`, `TopListItem`.`top_list_id`, `TopListItem`.`foreign_id`, `TopListItem`.`model`, `TopListItem`.`user_id`, `TopListItem`.`weight`, `TopListItem`.`created` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`id` = '5d457b0e-26dc-464d-af5d-0fe06d7b5e1b' | | 0 | 0 | 2 |
20 | SELECT `TopListItem`.`id`, `TopListItem`.`top_list_id`, `TopListItem`.`foreign_id`, `TopListItem`.`model`, `TopListItem`.`user_id`, `TopListItem`.`weight`, `TopListItem`.`created` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`id` = '5cfff06b-23d8-4649-b4bf-6b6d6d7b5e1b' | | 0 | 0 | 2 |
21 | SELECT `TopListItem`.`id`, `TopListItem`.`top_list_id`, `TopListItem`.`foreign_id`, `TopListItem`.`model`, `TopListItem`.`user_id`, `TopListItem`.`weight`, `TopListItem`.`created` FROM `top_list_items` AS `TopListItem` WHERE `TopListItem`.`id` = '5cfff06b-e9d8-4676-bba0-6b6d6d7b5e1b' | | 0 | 0 | 2 |
22 | SELECT `Architect`.`title`, `Architect`.`slug`, `Architect`.`deleted` FROM `architects` AS `Architect` WHERE `Architect`.`id` = '5d457b0e-26dc-464d-af5d-0fe06d7b5e1b' | | 0 | 0 | 2 |
23 | SELECT `Architect`.`title`, `Architect`.`slug`, `Architect`.`deleted` FROM `architects` AS `Architect` WHERE `Architect`.`id` = '5cfff06b-23d8-4649-b4bf-6b6d6d7b5e1b' | | 1 | 1 | 2 |
24 | SELECT `Architect`.`title`, `Architect`.`slug`, `Architect`.`deleted` FROM `architects` AS `Architect` WHERE `Architect`.`id` = '5cfff06b-e9d8-4676-bba0-6b6d6d7b5e1b' | | 0 | 0 | 2 |
25 | SELECT `Architecture`.`title`, `Architecture`.`slug`, `Architecture`.`deleted`, `Architecture`.`city`, `Architecture`.`country_id` FROM `architectures` AS `Architecture` WHERE `Architecture`.`id` = '5d457b0e-26dc-464d-af5d-0fe06d7b5e1b' | | 1 | 1 | 4 |
26 | SELECT `Country`.`id`, `Country`.`name`, `Country`.`user_count` FROM `countries` AS `Country` WHERE `Country`.`id` = '4936948a-873c-487c-8b78-4a561030b5da' | | 1 | 1 | 2 |
27 | SELECT `Architecture`.`title`, `Architecture`.`slug`, `Architecture`.`deleted`, `Architecture`.`city`, `Architecture`.`country_id` FROM `architectures` AS `Architecture` WHERE `Architecture`.`id` = '5cfff06b-23d8-4649-b4bf-6b6d6d7b5e1b' | | 0 | 0 | 2 |
28 | SELECT `Architecture`.`title`, `Architecture`.`slug`, `Architecture`.`deleted`, `Architecture`.`city`, `Architecture`.`country_id` FROM `architectures` AS `Architecture` WHERE `Architecture`.`id` = '5cfff06b-e9d8-4676-bba0-6b6d6d7b5e1b' | | 1 | 1 | 2 |
29 | SELECT `Country`.`id`, `Country`.`name`, `Country`.`user_count` FROM `countries` AS `Country` WHERE `Country`.`id` = '4936948a-873c-487c-8b78-4a561030b5da' | | 1 | 1 | 7 |
30 | SELECT `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id` FROM `comments` AS `Comment` WHERE `Comment`.`id` = '5d457b0e-26dc-464d-af5d-0fe06d7b5e1b' | | 0 | 0 | 2 |
31 | SELECT `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id` FROM `comments` AS `Comment` WHERE `Comment`.`id` = '5cfff06b-23d8-4649-b4bf-6b6d6d7b5e1b' | | 0 | 0 | 2 |
32 | SELECT `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id` FROM `comments` AS `Comment` WHERE `Comment`.`id` = '5cfff06b-e9d8-4676-bba0-6b6d6d7b5e1b' | | 0 | 0 | 2 |
33 | SELECT `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification` FROM `users` AS `User` WHERE `User`.`id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' | | 1 | 1 | 2 |
34 | SELECT `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification` FROM `users` AS `User` WHERE `User`.`id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' | | 1 | 1 | 2 |
35 | SELECT `User`.`id`, `User`.`username`, `User`.`slug`, `User`.`fname`, `User`.`lname`, `User`.`verified`, `User`.`top_list_count`, `User`.`comment_count`, `User`.`old_id`, `User`.`created`, `User`.`modified`, `User`.`name`, `User`.`password`, `User`.`password_hash_version`, `User`.`old_password_hash`, `User`.`role_id`, `User`.`login`, `User`.`active`, `User`.`gender`, `User`.`profile_visit_count`, `User`.`country_id`, `User`.`state_id`, `User`.`background`, `User`.`profession`, `User`.`photo_url`, `User`.`sm_photo_url`, `User`.`architecture_count`, `User`.`architect_count`, `User`.`activation_reminded`, `User`.`website`, `User`.`facebook`, `User`.`twitter`, `User`.`archived`, `User`.`last_login`, `User`.`cancelled`, `User`.`comment_notification`, `User`.`watch_notification`, `User`.`collection_notification` FROM `users` AS `User` WHERE `User`.`id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b' | | 1 | 1 | 2 |
36 | SELECT DISTINCT CommentsUser.comment_id, CommentsUser.parent_id, Comment.body, Comment.last_message_id, `Comment`.`id` FROM `comments_users` AS `CommentsUser` LEFT JOIN `comments` AS `Comment` ON (`CommentsUser`.`comment_id` = `Comment`.`id`) WHERE ((`CommentsUser`.`user_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b') OR (`CommentsUser`.`mention_user_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b') OR (`CommentsUser`.`foreign_id` = '5b3b7bec-b680-4eb5-bdd9-248e6d7b5e1b')) ORDER BY `Comment`.`id` desc | | 1 | 1 | 3 |
37 | SELECT `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id`, `User`.`id`, `User`.`username`, `User`.`slug`, `Architect`.`id`, `Architect`.`title`, `Architect`.`slug`, `Architecture`.`id`, `Architecture`.`title`, `Architecture`.`slug`, `Receiver`.`id`, `Receiver`.`username`, `Receiver`.`slug`, `TopList`.`id`, `TopList`.`title`, `OriginalComment`.`id`, `OriginalComment`.`author_name`, `OriginalComment`.`foreign_id` FROM `comments` AS `Comment` LEFT JOIN `users` AS `User` ON (`Comment`.`user_id` = `User`.`id`) LEFT JOIN `architects` AS `Architect` ON (`Comment`.`foreign_id` = `Architect`.`id`) LEFT JOIN `architectures` AS `Architecture` ON (`Comment`.`foreign_id` = `Architecture`.`id`) LEFT JOIN `users` AS `Receiver` ON (`Comment`.`foreign_id` = `Receiver`.`id`) LEFT JOIN `top_lists` AS `TopList` ON (`Comment`.`foreign_id` = `TopList`.`id`) LEFT JOIN `comments` AS `OriginalComment` ON (`Comment`.`parent_id` = `OriginalComment`.`id`) WHERE `Comment`.`id` = ('5b3c8b64-ffcc-4b46-a3ba-09d06d7b5e1b') ORDER BY `Comment`.`last_message_id` desc, `Comment`.`id` desc | | 1 | 1 | 2 |
38 | SELECT `User`.`id`, `User`.`username`, `User`.`slug` FROM `users` AS `User` WHERE `User`.`id` = '52ff7855-3800-424e-affd-679b6d7b5e1b' | | 1 | 1 | 2 |
39 | SELECT `Architect`.`id`, `Architect`.`title`, `Architect`.`slug` FROM `architects` AS `Architect` WHERE `Architect`.`id` = '5b3b7dbd-b628-4d5e-9def-248e6d7b5e1b' | | 1 | 1 | 2 |
40 | SELECT `Architecture`.`id`, `Architecture`.`title`, `Architecture`.`slug` FROM `architectures` AS `Architecture` WHERE `Architecture`.`id` = '5b3b7dbd-b628-4d5e-9def-248e6d7b5e1b' | | 0 | 0 | 2 |
41 | SELECT `Receiver`.`id`, `Receiver`.`username`, `Receiver`.`slug` FROM `users` AS `Receiver` WHERE `Receiver`.`id` = '5b3b7dbd-b628-4d5e-9def-248e6d7b5e1b' | | 0 | 0 | 2 |
42 | SELECT `TopList`.`id`, `TopList`.`title` FROM `top_lists` AS `TopList` WHERE `TopList`.`id` = '5b3b7dbd-b628-4d5e-9def-248e6d7b5e1b' | | 0 | 0 | 2 |
43 | SELECT `Mention`.`id`, `Mention`.`username`, `Mention`.`slug`, `Mention`.`fname`, `Mention`.`lname`, `Mention`.`verified`, `Mention`.`top_list_count`, `Mention`.`comment_count`, `Mention`.`old_id`, `Mention`.`created`, `Mention`.`modified`, `Mention`.`name`, `Mention`.`password`, `Mention`.`password_hash_version`, `Mention`.`old_password_hash`, `Mention`.`role_id`, `Mention`.`login`, `Mention`.`active`, `Mention`.`gender`, `Mention`.`profile_visit_count`, `Mention`.`country_id`, `Mention`.`state_id`, `Mention`.`background`, `Mention`.`profession`, `Mention`.`photo_url`, `Mention`.`sm_photo_url`, `Mention`.`architecture_count`, `Mention`.`architect_count`, `Mention`.`activation_reminded`, `Mention`.`website`, `Mention`.`facebook`, `Mention`.`twitter`, `Mention`.`archived`, `Mention`.`last_login`, `Mention`.`cancelled`, `Mention`.`comment_notification`, `Mention`.`watch_notification`, `Mention`.`collection_notification`, `CommentsUser`.`id`, `CommentsUser`.`comment_id`, `CommentsUser`.`user_id`, `CommentsUser`.`mention_user_id`, `CommentsUser`.`foreign_id`, `CommentsUser`.`parent_id` FROM `users` AS `Mention` JOIN `comments_users` AS `CommentsUser` ON (`CommentsUser`.`comment_id` = '5b3c8b64-ffcc-4b46-a3ba-09d06d7b5e1b' AND `CommentsUser`.`mention_user_id` = `Mention`.`id`) | | 1 | 1 | 2 |
44 | SELECT `Comment`.`id`, `Comment`.`parent_id`, `Comment`.`foreign_id`, `Comment`.`model`, `Comment`.`user_id`, `Comment`.`increment`, `Comment`.`author_name`, `Comment`.`author_url`, `Comment`.`author_email`, `Comment`.`author_ip`, `Comment`.`author_agent`, `Comment`.`body`, `Comment`.`created`, `Comment`.`modified`, `Comment`.`is_edited`, `Comment`.`last_message_id`, `User`.`id`, `User`.`username`, `User`.`slug`, `Architect`.`id`, `Architect`.`title`, `Architect`.`slug`, `Architecture`.`id`, `Architecture`.`title`, `Architecture`.`slug`, `Receiver`.`id`, `Receiver`.`username`, `Receiver`.`slug`, `TopList`.`id`, `TopList`.`title`, `OriginalComment`.`id`, `OriginalComment`.`author_name`, `OriginalComment`.`foreign_id` FROM `comments` AS `Comment` LEFT JOIN `users` AS `User` ON (`Comment`.`user_id` = `User`.`id`) LEFT JOIN `architects` AS `Architect` ON (`Comment`.`foreign_id` = `Architect`.`id`) LEFT JOIN `architectures` AS `Architecture` ON (`Comment`.`foreign_id` = `Architecture`.`id`) LEFT JOIN `users` AS `Receiver` ON (`Comment`.`foreign_id` = `Receiver`.`id`) LEFT JOIN `top_lists` AS `TopList` ON (`Comment`.`foreign_id` = `TopList`.`id`) LEFT JOIN `comments` AS `OriginalComment` ON (`Comment`.`parent_id` = `OriginalComment`.`id`) WHERE `Comment`.`parent_id` = '5b3c8b64-ffcc-4b46-a3ba-09d06d7b5e1b' ORDER BY `Comment`.`id` DESC | | 0 | 0 | 3 |