Forum BigDB BigDB.loadRange documentation incorrect

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

BigDB.loadRange documentation incorrect

Postby JeTSpice » November 6th, 2015, 8:47 am

So i'm about to load a range from a table, when i read in the documentation that BigDB.loadRange will "Delete a set of DatabaseObjects from a table"... yes, it says delete.

So, erring on the side of extreme caution, because my game is now live, I have to make a fake table with tons of fake data to ensure that there's an error with the documentation. I don't want to do "loadRange" on a live table and find out it does indeed delete everything.

Can somebody from Yahoo rouse themselves and change the documentation?
JeTSpice
 
Posts: 5
Joined: August 7th, 2015, 11:00 pm

Re: BigDB.loadRange documentation incorrect

Postby Guillaume » November 6th, 2015, 3:45 pm

I just looked and everything is fine.
But what you stated is on BigDB.DeleteKeys.

https://gamesnet.yahoo.net/documentatio ... #LoadRange
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France

Re: BigDB.loadRange documentation incorrect

Postby JeTSpice » November 6th, 2015, 6:18 pm

Apologies. Forgot to specify that it's the as3 documentation. Here is a link:
https://gamesnet.yahoo.net/documentation/reference/actionscript3/playerio.bigdb#loadRange
JeTSpice
 
Posts: 5
Joined: August 7th, 2015, 11:00 pm

Re: BigDB.loadRange documentation incorrect

Postby Guillaume » November 6th, 2015, 6:22 pm

I think there is an error but...As you said, better to read an answer from Yahoo team, or test the behavior by yourself on a test project.
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France

Re: BigDB.loadRange documentation incorrect

Postby Henrik » November 11th, 2015, 6:29 pm

Haha, whoops, yes that's a typo. Of course the loadRange function loads a range. If it actually deleted records, we'd have gotten a bug report way, way, way earlier. :-)
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: BigDB.loadRange documentation incorrect

Postby JeTSpice » November 11th, 2015, 7:58 pm

Thanks. Yeah, i figured it out... but since it was live data, i couldn't assume.
JeTSpice
 
Posts: 5
Joined: August 7th, 2015, 11:00 pm

Re: BigDB.loadRange documentation incorrect

Postby Henrik » November 12th, 2015, 7:55 pm

The documentation has now been updated.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to BigDB