How to remove field from model in google engine using java?

http://code.google.com/appengine/articles/update_schema.html shows how to remove a property from a model in python with delattr. Is there a way to do the same in java?

Thank!

+3
source share
3 answers

Yes, there is a method for in the low level API .

+2
source

You simply remove the property from your class code and recompile.

0
source

App Engine . , , , . Java-.

If your organization has already been deployed to production and you delete the field, this will not retroactively remove the property from objects that have already been saved. You will need to create a task queue task set to go through and re-save all of these objects. It is probably best to take this step before moving to a new facility so that you don't break your business logic elsewhere.

0
source

Source: https://habr.com/ru/post/1731104/


All Articles