Hi Devel63,
The SDK will pass the list of keys through to the backend unmodified.
Whether the backend will de-duplicate before fetching is undefined, but
probable. In any case, your code will still have the overhead of decoding
the same entity several times - so I would suggest deduplicating yourself
before sending it to the API.

-Nick Johnson

On Fri, Oct 2, 2009 at 5:34 PM, Devel63 <[email protected]> wrote:

>
> If I pass in a list of key_names to Model.get_by_key_name(), and the
> list contains duplicates, everything works and I get the complete,
> duplicative list of entities back.
>
> But behind the scenes, is GAE making only one query for all the
> duplicates, or is it being smart and just duplicating the results?
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to