mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-14 04:24:26 +02:00
Enable Table.convert() on falsey values
This commit is contained in:
parent
fc221f9b62
commit
a09df3844a
3 changed files with 9 additions and 4 deletions
|
|
@ -2660,8 +2660,6 @@ class Table(Queryable):
|
|||
|
||||
def convert_value(v):
|
||||
bar.update(1)
|
||||
if not v:
|
||||
return v
|
||||
return jsonify_if_needed(fn(v))
|
||||
|
||||
self.db.register_function(convert_value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue