0.86/Roadmap: Difference between revisions
| Line 271: | Line 271: | ||
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). | 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). | ||
<strong> | <strong>find() returns only last versions of journal objects</strong> | ||
So, all objects should be grouped by "object_id" which could be: | |||
* ''activity_id'' for objects that were generated by activities | * ''activity_id'' for objects that were generated by activities | ||
* ''bundle_id'' for .xo bundles in the Journal | * ''bundle_id'' for .xo bundles in the Journal | ||
* ''uid'' for other objecets | * ''uid'' for other objecets | ||
<strong> | <strong>Sort find()'s resultset</strong> | ||
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). | ||
* Sort by buddies count</strong> | * Sort by buddies count</strong> | ||