question with joins, if two or more fields referen...
# community-help
j
question with joins, if two or more fields reference another collection similar to this:
Copy code
"companies": [
                    {
                        "id": "1914247",
                    }
                ],
 "currentOwnerCompanyId": "1914247",
 "currentUserCompanyId": "2693627",
How to include both referenced fields ? (one-to-one) both reference with
Copy code
companies.id
h
Hi @Jens Nylander there can be only one reference field to a particular collection right now. The workaround would be to create collections like:
Copy code
Collection -> OwnerCompany -> Company
Collection -> UserCompany -> Company
j
Thanks, noted.