Forum BigDB loadObject calls the success handler, but DBO is null

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

loadObject calls the success handler, but DBO is null

Postby robertflesch » May 16th, 2013, 9:00 pm

When I try to load an object that has been removed from database, I get a success result, but the DatabaseObject is null. Is this the expected behavior?
robertflesch
Paid Member
 
Posts: 136
Joined: April 22nd, 2013, 9:18 pm

Re: loadObject calls the success handler, but DBO is null

Postby Henrik » May 16th, 2013, 10:57 pm

Yes. It's behaviour is the same as LoadKeys, which returns an array of objects corresponding to the array of keys you send in, with nulls in place of non-existing keys.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to BigDB



cron