mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 09:54:31 +02:00
Removed convert skip_false and --skip-false, closes #542
This commit is contained in:
parent
fafa966300
commit
96fab69256
8 changed files with 12 additions and 26 deletions
|
|
@ -2909,7 +2909,6 @@ class Table(Queryable):
|
|||
where: Optional[str] = None,
|
||||
where_args: Optional[Union[Iterable, dict]] = None,
|
||||
show_progress: bool = False,
|
||||
skip_false: bool = True,
|
||||
):
|
||||
"""
|
||||
Apply conversion function ``fn`` to every value in the specified columns.
|
||||
|
|
@ -2952,8 +2951,6 @@ class Table(Queryable):
|
|||
|
||||
def convert_value(v):
|
||||
bar.update(1)
|
||||
if skip_false and not v:
|
||||
return v
|
||||
return jsonify_if_needed(fn(v))
|
||||
|
||||
fn_name = fn.__name__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue