So I am loading and saving DataObjects. Awesome.
When I load a dataobject, is every single bucket within the dataobject being loaded into that variable?
For example, I had an entry in "PlayerObjects" database called "Person" and he has buckets X, Y, and Z.
When I load "Person" (BigDB.Load("PlayerObjects", "Person", delegate(DatabaseObject obj) { })
and within the delegate, I get values X and Y...
someObj.X = obj.GetInt("X")
someObj.Y = obj.GetInt("Y")
has Z been loaded as well?
I am wondering about the feasibility of having an account with a ton of info in it, and then having DatabaseObject buckets which are the player files. There obviously is no reason for loading 20 different player files from the account when you call the account object... just the one you want to select.
So... yeah, the question: when loading an object, is it loading --everything-- from PlayerIO BigDB, or is it dynamically requesting the buckets as needed within the delegate method?
For now I have the playerfiles and all future not-so-necessary-to-load-immediately-or-makes-sense-to-do-it objects as different entries in a database, but having them as buckets from the top-level object would be awesome if it doesn't load them unless asked to.
Insight would be appreciated.