Hi,

I am new in google app engine and Gql as well.

i have made class as follows:

class MyBooks(db.Model):
  book_id=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)

but in the data base how can i store unique number which should
incremented.

table structure in Gql after run the app is

"ID/Name        author  book_id         book_name       date    key     price" 
and we have
made only  "author      book_id         book_name       date    price" only. 
Then why
"ID/Name and key " field are made automatically. Also i am not able to
use "ID/Name" in Gql query's where class like "WHERE  ID/Name = '1' "


Please help me i am not able to Fetch data using where clause.



Thanks,
Gampesh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to