19 messages in com.googlegroups.google-appengine[google-appengine] Retrieve stored da...
FromSent OnAttachments
cheeaun14 Apr 2008 23:44 
Sigfrid314115 Apr 2008 00:42 
cheeaun15 Apr 2008 02:05 
Ben the Indefatigable21 Apr 2008 12:08 
Raffaele Sena21 Apr 2008 12:27 
Nick Retallack25 Apr 2008 04:12 
Raffaele Sena25 Apr 2008 09:00 
Ben the Indefatigable27 Apr 2008 06:15 
Leap07 May 2008 15:28 
Leap07 May 2008 17:59 
dsw08 May 2008 22:02 
Lim Chee Aun08 May 2008 22:27 
Marzia Niccolai09 May 2008 08:34 
Lim Chee Aun09 May 2008 10:14 
Marzia Niccolai09 May 2008 11:10 
Leap10 May 2008 00:34 
Ben the Indefatigable10 May 2008 08:33 
Leap12 May 2008 19:17 
Ben the Indefatigable14 May 2008 09:16 
Subject:[google-appengine] Retrieve stored data by the user nickname
From:cheeaun (chee@gmail.com)
Date:04/14/2008 11:44:17 PM
List:com.googlegroups.google-appengine

I'm developing an app that uses the user's nickname which is applied to the URL, something like: domain.com/person1, domain.com/person2 These URLs refer to the user's profile page or something like that.

So I was trying this and it spits an error: greetings = db.GqlQuery('SELECT * FROM Greetings WHERE who.nickname = : 1', nickname)

I know the error is that 'who.nickname'. 'who' is a db.UserProperty(). 'nickname' comes from the URL. Is it possible to query based on just the nickname instead of the whole db.userProperty() thing?

Thanks