Hi,

I'm very new to GAE and was curous if there is a performance penalty
with regards to queries and exploding indices, etc. etc... if one
implements tags (a list of category names for a record if you will) as
dynamic properties vs.  just list<db.Category>.

As a dynamic property I was thinking a possibility would be:
obj.tag_moe="moe"
obj.tag_curly="curly"
(Of course, this assumes I can specify the name of a dynamic tag at
creation time)

so if I wanted to query a database for tags "xxx" and "yyy", could I
do:
SELECT * FROM myModel WHERE tag_moe = "moe" AND tag_curly = "curly"
ORDER by date


Or... as a list of tags a possibility would be:
obj.tags = ["moe", "curly"]

and the query
SELECT * FROM myModel WHERE tags = "moe" AND tags = "curly" ORDER by
date


Thanks for any insight
-d

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

Reply via email to