Are there any plans to (or is this even feasible) to implement the ability
to pull only specific properties for an entity from a model?
Say I have a Model like so:
class myModel(db.Model):
myProp = db.StringProperty()
myProp2 = db.ListProperty()
And.. I want to do a myModel.get_by_key_name(mykey).. but I only want the
StringProperty... will there every by a way to specify that I just want to
have the myProp value returned?
So, say myModel had 20 properties.. but for any given query, you only wanted
2 or 3 of those properties.. will there ever be away to restrict the
returned value to contain only those specific properties?
Then.. it would be nice to get only a few properties for an entity.. and
then update those entities and the .put() would only need to send the
updated values over the wire..
Or, is this a fundamental limitation of the datastore.. or is this already
happening behind the scenes?
Thanks for information.
--
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.