So, if I want StringListProperty, but I don't want/need the indexing,
then I ought use ListProperty(db.Text)?

Thanks again,
Jeff

On Mon, Aug 10, 2009 at 11:35 AM, Nick Johnson
(Google)<[email protected]> wrote:
>
> On Mon, Aug 10, 2009 at 7:25 PM, Jeff Enderwick<[email protected]> 
> wrote:
>>
>> Thanks Nick. So in the case below, will the datastore then maintain an
>> index on alist by default?
>
> Yes - str and unicode instances get indexed by default.
>
> -Nick
>
>>
>> On Mon, Aug 10, 2009 at 3:35 AM, Nick Johnson
>> (Google)<[email protected]> wrote:
>>>
>>> Hi Jeff,
>>>
>>> A StringListProperty is exactly equivalent, as far as the datastore is
>>> concerned, to multiple individual String properties. That is, an
>>> entity like this:
>>>
>>> MyEntity(astring="foo", alist=["foo", "bar"])
>>>
>>> is stored in the datastore analagous to this:
>>>
>>> (("astring", "foo"), ("alist", "foo"), ("alist", "bar"))
>>>
>>> -Nick Johnson
>>>
>>> On Sun, Aug 9, 2009 at 6:33 PM, Jeff Enderwick<[email protected]> 
>>> wrote:
>>>>
>>>> Hey all, is there any datastop/API overhead difference between these
>>>> two? Is there any difference in index (or lack thereof) maintenance by
>>>> the datastore?
>>>>
>>>> Thanks,
>>>> Jeff
>>>>
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> Nick Johnson, Developer Programs Engineer, App Engine
>>>
>>> >
>>>
>>
>> >
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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