Hi folks.

I'm facing a problem with table.update_or_insert().

I have: my_tab.update_or_insert(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