On 2018-01-31 13:50, Raimon Esteve wrote:
> I try with python-sql to update a column to "null".
> 
> Somebody know how to update to null a column?
> 
> Example:
> 
>             query = user.update(
>                     columns=[user.main_company],
>                     values=[None], <- I like here to update with null
>                     where=user.main_company != Null)

As you do not explain what is not working, we can not help you.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20180131141904.GE23162%40kei.

Reply via email to