class MyBooks(db.Model):
bookid=db.IntegerProperty(name='key')
author = db.StringProperty(multiline=True)
book_name = db.StringProperty(multiline=True)
price = db.IntegerProperty()
date = db.DateTimeProperty(auto_now_add=True)
On Wed, Oct 15, 2008 at 2:29 PM, ajaxer <[EMAIL PROTECTED]> wrote
And what about "key_name" in the Model class.
http://code.google.com/appengine/docs/datastore/modelclass.html
Regards
On 15 oct, 08:29, ajaxer <[EMAIL PROTECTED]> wrote:
> if i use google datastore api?
> is it possible to specify my own key field in db.Model?
> thanks.
--~--~-~--~~-