Skip to main content
Version: 5.11.4

Paging Processing

When looking up data using the various methods of BACKND(game information, guild, etc.), you can get up to 100 pieces of data.
However, there can be more than 100 pieces of data; in this case, paging processing is required.
When looking up data using a BACKND method and there are more than 100 pieces of data, a piece of data called firstKey is added to the returnValue of the result.

Example

The following is an example of looking up all existing tables in the "testPublic" table.

void GetTestPublic()
{
// Look up data
var bro = Backend.GameData.Get("testPublic", new Where());

if(bro.IsSuccess() == false)
{
// Handled as failure
return;
}

while(bro.HasFirstKey() == true)
{
var firstKey = bro.FirstKeystring();

// Look up the following data
bro = Backend.GameData.Get("testPublic", new Where(), firstKey);

if(bro.IsSuccess() == false)
{
// Handled as failure
return;
}
}
}