사용자 테이블이 있으며 두 개의 필드가 있습니다. 매일 하나의 필드를 업데이트하고 싶습니다. 어떻게해야합니까? 내 코드 :google appengine-python-ndb로 데이터를 업데이트하려면 어떻게해야합니까?
class User(ndb.Model):
username = ndb.StringProperty()
something = ndb.StringProperty(repeated=True)
created_date = ndb.DateTimeProperty(auto_now_add=True)
updated_date = ndb.DateTimeProperty(auto_now_add=True)
뭔가 필드를 변경하려면하지만이 어떻게 할 수 있습니까?
데이터 저장소에 대한 생각, 엔티티가있는 테이블이없고, 개별 엔티티를 가져오고 엔티티의 속성을 업데이트 한 다음 엔티티를 쓰는 (put) 방법을 변경해야합니다. –