Changes

Jump to navigation Jump to search
Line 88: Line 88:  
Let datastore clients sort objects by any field(not only predefined like uid, activity_id etc).
 
Let datastore clients sort objects by any field(not only predefined like uid, activity_id etc).
   −
This features can benefit [[Activities/Library]] activity, at present(for 0.82/0.84) Library uses "rich" datastore client which fetches all Journal objects to make short list of objects(by collapsing all versions to one item), moreover it has to unzip .xo bundles to get ''bundle_id'' value.
+
This features can benefit [[Activities/Library]] activity, at present(for 0.82/0.84) Library uses "rich" datastore client which fetches all Journal objects to make short list of objects(by collapsing all versions to one item), moreover it has to unzip .xo bundles to get ''bundle_id'' value.<br>
 +
With all these features implemented Library can use "thin" datastore client and not fetch all objects, just make proper request for datasotre.find() to get sorted and collapsed objects by portions (by using offset/limit find() arguments).

Navigation menu