Hash Right Join (cost=103.18..115.92 rows=1 width=20) |
Hash Cond: (ccr.schedule_id = tbl_schedules.id) |
Filter: (((tbl_schedules.is_public = 1) AND (tbl_schedules.created_by <> 5446)) OR (tbl_schedules.created_by = 5446) OR (ccr.user_id = 5446)) |
-> Seq Scan on tbl_schedule_carbon_copy_rels ccr (cost=0.00..10.91 rows=691 width=8) |
-> Hash (cost=103.16..103.16 rows=1 width=45) |
-> Bitmap Heap Scan on tbl_schedules (cost=4.53..103.16 rows=1 width=45) |
Recheck Cond: (created_by = 5446) |
Filter: (((start_at IS NOT NULL) OR (end_at IS NOT NULL)) AND (alarm_before IS NOT NULL)) |
-> Bitmap Index Scan on tbl_schedules_created_by_idx (cost=0.00..4.53 rows=32 width=0) |
Index Cond: (created_by = 5446) |