You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
I know the field id is autoincrement, but I need other field besides the id, because I'm trying to use MongoDB and the field id that created is like '{ "_id" : { "$oid" : "539139c0dfe28529f6fb72cb"}'. Then have to create other autoincrement field besides the id. Anybody can help?
Massimo Di Pierro
unread,
Jun 8, 2014, 12:38:56 AM6/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
If you use db = DAL('mongodb:...')
tables get automatically an integer "id" field. It is not auto-increment and it is stored as a UUID by mongo. web2py converts the UUID to an integer and back so that web2py does not break.
Leonardo Tada
unread,
Jun 13, 2014, 1:50:11 PM6/13/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web...@googlegroups.com
I understood, but have a way to make other field like auto-increment?