I just need to be sure that this is the case.
It seems that the following does not work
//fetch entity with list of keys
if(entity.getProperty("keylist").contains(key)){ //Does not work!!
//do something
}
Instead I have todo silly stuff like
for(Key k : entity.getProperty("keylist")){
if(KeyFactory.keyToString(k).equals(KeyFactory.keyToString(
target.getKey()))){
//Do something
}
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/z0g6vfvcVFoJ.
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.