开发者

How to copy an App Engine Datastore entity

开发者 https://www.devze.com 2023-01-07 12:01 出处:网络
How can I copy an entity created from my Geo model: class Geo(db.Model): title = db.StringProperty() link = db.StringProperty()

How can I copy an entity created from my Geo model:

class Geo(db.Model):
    title = db.StringProperty()
    link = db.StringProperty()
    updated = db.DateTimePropert开发者_C百科y(auto_now =True)
    author = db.ReferenceProperty(MyUser)
    id = db.StringProperty()
    entry = db.ListProperty(db.Key)
0

精彩评论

暂无评论...
验证码 换一张
取 消