1👍
✅
I had tried this and got the answer
Apps.objects.annotate(all=Exists(FavouriteApps.objects.filter(Q(user__username=self.request.user.username), app_id=OuterRef('pk')))).filter(all=True)
Source:stackexchange.com