Python/Sqlite3 - is there a way to programmatically set .nullvalue? -


currently, python storing string "none" nulls returned sqlite3. read can change default value nulls in sqlite3 @ command line, can set within python code?

i'd of blank results same without having loop through , check each value. want nulls returned sqlite3 empty string ("") instead of "none".

uses sql-function coalesce each column of left join.

select    a.id, a.value,    coalesce(b.id, ''), coalesce(b.value, '')       left outer join b on b.a_id = a.id  

Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -