mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 02:14:31 +02:00
jsonify_if_needed output of convert() functions, closes #495
This commit is contained in:
parent
c7e4308e6f
commit
defa2974c6
2 changed files with 25 additions and 3 deletions
|
|
@ -2662,7 +2662,7 @@ class Table(Queryable):
|
|||
bar.update(1)
|
||||
if not v:
|
||||
return v
|
||||
return fn(v)
|
||||
return jsonify_if_needed(fn(v))
|
||||
|
||||
self.db.register_function(convert_value)
|
||||
sql = "update [{table}] set {sets}{where};".format(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue