On Oct 19, 2:45 pm, v4vijayakumar <[EMAIL PROTECTED]>
wrote:
> Is it possible to do something like this, on model "test"?
>
> q = test.gql ('where a = :1', 'b1*')
>
> --
> class test(db.Model):
> a = db.StringProperty()
> b = db.StringProperty()
>
> test(a='a1:test', b='b1:test').put()
> test(a='a1:test', b='b2:test').put()
> test(a='a2:test', b='b1:test').put()
> test(a='a2:test', b='b2:test').put()
Wanted to store properties in this way, because it would be easy to
extend, like "field1:field2:field3:field4".
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---