I think the reason is so you can determine whether an insert was done or 
not (otherwise there would be no way to distinguish). Anyway, it's a fairly 
simple function, so if you need the id of updated records, just write your 
own version.

Anthony

On Tuesday, April 18, 2017 at 6:58:22 AM UTC-4, Ramos wrote:
>
> why?
>
> https://github.com/web2py/pydal/blob/4b30558e7d75da152ac6a003991e9add1b68c235/pydal/objects.py#L795
>  
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweb2py%2Fpydal%2Fblob%2F4b30558e7d75da152ac6a003991e9add1b68c235%2Fpydal%2Fobjects.py%23L795&sa=D&sntz=1&usg=AFQjCNFxj-TA4W0LV0ViH4QJ7N5Hsz-HYg>
>
> I could and need to use the id in case of update...
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  Sem 
> vírus. www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>  
> <#CAEM0BxPk8LJQyTpKvT5vkn4FBchbB1cMx=YGN=iwjW7Aw2cG4w@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to