Forum ‹ BigDB ‹ Load properties only, not full Objects
3 posts
• Page 1 of 1
Load properties only, not full Objects
Hi,
Is there any way to get a single property from a range of objects? Instead of getting an entire DatabaseObject or an array of DatabaseObjects? To save on data transfer I would love to just get an array that has a specific property from each object in my index.
Or does that not really matter?
-J
Is there any way to get a single property from a range of objects? Instead of getting an entire DatabaseObject or an array of DatabaseObjects? To save on data transfer I would love to just get an array that has a specific property from each object in my index.
Or does that not really matter?
-J
- capitaljmedia
- Posts: 24
- Joined: September 13th, 2011, 2:33 am
Re: Load properties only, not full Objects
Hey,
There is no way currently to limit the output from BigDB -- you'll have to transfer the entire object out. When you save changes though, only the difference from the loaded object is transferred back, so it saves a lot of bandwidth there.
BigDB uses an optimized binary format so there is not much overhead except for the raw data you put in the objects.
- Oliver
There is no way currently to limit the output from BigDB -- you'll have to transfer the entire object out. When you save changes though, only the difference from the loaded object is transferred back, so it saves a lot of bandwidth there.
BigDB uses an optimized binary format so there is not much overhead except for the raw data you put in the objects.
- Oliver
-

Oliver - .IO
- Posts: 1136
- Joined: January 12th, 2010, 8:29 am
Re: Load properties only, not full Objects
ok, thank you. Good to know 
- capitaljmedia
- Posts: 24
- Joined: September 13th, 2011, 2:33 am
3 posts
• Page 1 of 1