1
我在我的應用程序下面的數據庫模型:如何在GAE Python中創建子實體和父實體?
class Account(ndb.Model):
username = ndb.StringProperty()
userid = ndb.IntegerProperty()
email = ndb.StringProperty()
class Post(nbd.Model):
text = nbd.StringProperty()
我怎麼可以告訴大家,「很多帖子都屬於一個帳戶」的方案?
謝謝!