Forum BigDB Problem with loading objects from the database

Discussion and help relating to the PlayerIO database solution, BigDB.

Problem with loading objects from the database

Postby L4ckyFox » August 22nd, 2013, 5:05 pm

in the database danyh I have objects for example: "210", "220", "230", "240".
I load all of these objects using the Loadkeys:
Code: Select all
   private void onConnectionSuccess(Client client)
   {
      Debug.Log("Succesfuly connected to server ");
      
      client.BigDB.LoadKeys(
         Const.ShipsTable,
         new string[]{"210","220","230","240"},
         onLoadDBObjectSuccess);
      
   }
   public void onLoadDBObjectSuccess(DatabaseObject[] dbobj)
   {...}

the problem is that I need to bring all the data from the objects in the array and then use all the data from the array in compliance with belonging to the accommodation facility. I have no way out.
really need your help
User avatar
L4ckyFox
 
Posts: 9
Joined: July 23rd, 2013, 1:28 pm
Location: Saint Petersburg

Re: Problem with loading objects from the database

Postby Henrik » August 23rd, 2013, 4:01 am

L4ckyFox wrote:the problem is that I need to bring all the data from the objects in the array and then use all the data from the array in compliance with belonging to the accommodation facility. I have no way out.
really need your help

I'm sorry, I don't understand your question?

What do you want to do with the objects once you've loaded them?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to BigDB



cron