Custom keys for Google App Engine models (Python)

前端 未结 2 1861
深忆病人
深忆病人 2021-01-31 11:54

First off, I\'m relatively new to Google App Engine, so I\'m probably doing something silly.

Say I\'ve got a model Foo:

class Foo(db.Model):
   name = db         


        
2条回答
  •  Happy的楠姐
    2021-01-31 12:33

    Here is a pretty thorough discussion of unqiueness with the AppEngine datastore: How do I define a unique property for a Model in Google App Engine?

提交回复
热议问题