Mugdha
Mugdha

Reputation: 891

How can we retrieve data from datastore?

How can we retrieve data from datastore where we want to use one element of list property as parameter in google app engine?

Upvotes: 1

Views: 258

Answers (1)

Alex Martelli
Alex Martelli

Reputation: 882691

If I read you correctly: you need to retrieve the whole element containing that particular list property (with either a qgl query or explicit filtering), then access on that element the attribute name of that property.

For an alternate reading: if you want an element whose list property in question contains a certain value, as for that attribute to "equal" said value. As the docs say:

In a query, comparing a list property to a value performs the test against the list members: list_property = value tests if the value appears anywhere in the list

Did you mean one of these two things, or yet another I wasn't able to guess from your arcane words?-)

Upvotes: 3

Related Questions