update_or_insert on an existing record returns None

31 views
Skip to first unread message

António Ramos

unread,
Sep 24, 2021, 5:18:44 AM9/24/21
to web...@googlegroups.com
Why update_or_insert on an existing record returns None ??
If the record does not exist it returns the created record id but if updating an existing record i get None.

Regards
António

Dave S

unread,
Oct 2, 2021, 6:15:27 PM10/2/21
to web2py-users
Possibly so you can tell it was an update and not an insert.

/dps
 

Noobie

unread,
Oct 5, 2021, 9:50:40 AM10/5/21
to web2py-users
send code to analyze bro
Reply all
Reply to author
Forward
0 new messages