Open an issue on google code!

Which web2py version?

Richard

On Wed, Aug 8, 2012 at 10:10 AM, [email protected] <
[email protected]> wrote:

> Hi folks.
>
> I'm facing a problem with table.update_or_insert().
>
> I have: my_tab.update_or_insert(my_**tab.name <http://my_tab.name>==my_name,
> name=my_name, phone=my_phone)
>
> When the search condition is not satisfied (i.e no records found) a new
> record with id=None is inserted in my_tab. The action is correct, but id
> shouldn't be None.
>
> Am I doing something wrong or is it a bug?
>
> --
> Vinicius Assef
>
> --
>
>
>
>

-- 



Reply via email to