LeaderboardService SetQuery for 2 Different Collection

0 votes
Hi All

I use GetTopNRankers API of LeaderboardService. While I get Top N rankers,I want to fetch additional data from two different Collection. Can I use SetQuery twice to get additional data from these two different collection? Or any other way of doing it?

Thanks.
asked May 25 in Unity by gokhan (20 points)

1 Answer

0 votes
Hi Gokhan,

 

Query on two different collections is not available. You can find document first from one collection and based on the desired result or your algorithm you can find the document from other collection. Once you have results for both collection, you can get the top rankers by group method.

Let us know if you need any help while building the logic. It will help us to provide better support to you.    

 

Regards,

Himanshu Sharma
answered May 26 by hs00105 (1,935 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
Migrate from Parse to ShepHertz App42
...