On Friday, September 24, 2021 at 2:18:44 AM UTC-7 Ramos wrote:

> 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
>

Possibly so you can tell it was an update and not an insert.

/dps
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/0210cd59-3a75-44fe-b850-36e42a65c195n%40googlegroups.com.

Reply via email to