Cloud Save Queries
Cloud Save Queries allows you to define indexes on Player Data and Game Data (Custom Items) stored in Cloud Save so you can search / query data using Cloud Code.
Refer to the documentation for the Cloud Save SDK for Cloud Code for a list of methods for querying data in Cloud Save from Cloud Code.
By default, data in Cloud Save cannot be queried. To enable querying, an index with the desired keys must be created against an access class and entity type. An index is a list of keys that are stored in a specific order.
An index can be used to query for players or custom entities that match a specific key or range of keys, both from the admin API as well as from the client API. Indexes can be listed, created, updated, and deleted using the admin API.
Indexes can be formed of individual Cloud Save keys, or multiple keys can be combined in a specific order to form a compound index. Each key is marked with a boolean to specify if the index is sorted in ascending or descending order.
You can define up to 20 keys which can be indexed across all indexes and across all access classes and across Player State and Game State.
This means that there can be up to 20 indexes with a single indexed key, or a single index with 20 keys, or any combination in between so long as the total number of indexed keys does not exceed the limit.