[dojo-contributors] dijit.Tree assumes datastore implements Identity API
bill at dojotoolkit.org
Tue Aug 21 17:35:25 EDT 2007
Brian Douglas Skinner wrote:
>>if you do some query like
>> and then it returns a list of item without id's, you're stuck.
>> I'm not sure if that would ever happen in real life though?
> I see. Thanks for the explanation.
> Even in that case, couldn't the datastore still assign unique id's to
> the items if it really wanted to? The unique id could be a compound key
> with two parts, like "xyz-267", where "xyz" is a unique identifier for
> the query that was sent to the server, and "267" is the index of the
> item in the result set returned by the server?
That's a bit too unique. Two separate queries might return the same
item but with different id's.
More information about the dojo-contributors