Hello,
How can I search for keys in DataStore?
Is it possible? Or do I have to create a key attribute in db.Model?
For example:
class Ruta(db.Model):
titulo = db.StringProperty()
KML = db.BlobProperty()
class example(webapp.RequestHandler):
def get(self,KEY):
query_str = "SELECT * FROM Ruta WHERE key = '" + KEY + "'"
rutas = db.GqlQuery (query_str)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---