Thanks Alfred...

To use both ndb or Expando class, first I have to create a class which 
extends ndb or Expando...
But I am getting entity name at run time, So I do not have any fixed entity.

Our users can store their own entities at run time.
Suppose I am creating one class with "*CustomEntity**"* which extends 
expando, and I am giving custom entity name in  *"Key Name",* then all the 
entities will be stored in table "*CustomEntity"*. 

But is there any way store each entity in separate tables with table name 
as entity name ??




On Thursday, October 10, 2013 9:51:46 AM UTC+5:30, Alfred Fuller wrote:
>
> FYI both ndb and db support dynamic properties through the Expando class
>
>
> On Wed, Oct 9, 2013 at 5:36 PM, Vinny P <vinn...@gmail.com 
> <javascript:>>wrote:
>
>> On Wed, Oct 9, 2013 at 8:32 AM, Mitul Golakiya 
>> <mtl.go...@gmail.com<javascript:>
>> > wrote:
>>
>>> We are using datastore.py for querying data from datastore, because we 
>>> have to define our entities at runtime. So we can not use db.Model to 
>>> define models. And retrieve data by models.
>>>
>>> We have to use "Not Equal" operator to retrieve some data from datastore.
>>> Suppose, I want to retrieve all Persons, with name is not equal to 
>>> "Test".
>>>
>>> By this code, we are getting empty result.
>>> Any idea about what's wrong ??
>>>
>>>
>>
>> Does your code return any entities if *filterObj* is empty? Are you 
>> running on the dev datastore or production?
>>
>>  
>>  
>> -----------------
>> -Vinny P
>> Technology & Media Advisor
>> Chicago, IL
>>
>> App Engine Code Samples: http://www.learntogoogleit.com
>>  
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-appengi...@googlegroups.com <javascript:>.
>> To post to this group, send email to 
>> google-a...@googlegroups.com<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to