[appengine-java] Re: Remove properties from existing data
Both information were very helpful! Problem solved. Thanks! On Oct 7, 7:16 pm, "Ikai Lan (Google)" wrote: > An easy way to iterate over all your entities is with the Mapper API: > > http://googleappengine.blogspot.com/2010/07/introducing-mapper-api.html > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Thu, Oct 7, 2010 at 10:11 AM, Didier Durand wrote: > > > > > Hello, > > > You have to go down to low-level datastore api to do that: see > > Entity.removeProperty() > > > See > >http://code.google.com/appengine/docs/java/javadoc/com/google/appengi... > > > didier > > > On Oct 7, 2:06 pm, arny wrote: > > > Hello, > > > > I've been looking for a way to remove unused properties from existing > > > data for a while but could not find the right information yet. > > > Everyone is talking about what should not be done, but no one is > > > giving any ideas how to remove. > > > > So I can't set NULL, since it's a value as well and gets stored. > > > So how to get rid of unused properties then? > > > > On python there is delattr to remove a property completely. > > > On Java there is ... ? > > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Remove properties from existing data
An easy way to iterate over all your entities is with the Mapper API: http://googleappengine.blogspot.com/2010/07/introducing-mapper-api.html -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Thu, Oct 7, 2010 at 10:11 AM, Didier Durand wrote: > Hello, > > You have to go down to low-level datastore api to do that: see > Entity.removeProperty() > > See > http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html > > didier > > On Oct 7, 2:06 pm, arny wrote: > > Hello, > > > > I've been looking for a way to remove unused properties from existing > > data for a while but could not find the right information yet. > > Everyone is talking about what should not be done, but no one is > > giving any ideas how to remove. > > > > So I can't set NULL, since it's a value as well and gets stored. > > So how to get rid of unused properties then? > > > > On python there is delattr to remove a property completely. > > On Java there is ... ? > > > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Remove properties from existing data
Hello, You have to go down to low-level datastore api to do that: see Entity.removeProperty() See http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html didier On Oct 7, 2:06 pm, arny wrote: > Hello, > > I've been looking for a way to remove unused properties from existing > data for a while but could not find the right information yet. > Everyone is talking about what should not be done, but no one is > giving any ideas how to remove. > > So I can't set NULL, since it's a value as well and gets stored. > So how to get rid of unused properties then? > > On python there is delattr to remove a property completely. > On Java there is ... ? > > Thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.