mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 18:34:32 +02:00
New help for --lines and --all and --convert and --import, refs #356
This commit is contained in:
parent
f3fd861311
commit
9e286cc6d2
2 changed files with 81 additions and 19 deletions
|
|
@ -1029,7 +1029,7 @@ This supports nested imports as well, for example to use `ElementTree <https://d
|
|||
'xml.etree.ElementTree.fromstring(value).attrib["title"]' \
|
||||
--import=xml.etree.ElementTree
|
||||
|
||||
Your code will be automatically wrapped in a function, but you can also define a function called `convert(value)` which will be called, if available::
|
||||
Your code will be automatically wrapped in a function, but you can also define a function called ``convert(value)`` which will be called, if available::
|
||||
|
||||
$ sqlite-utils convert content.db articles headline '
|
||||
def convert(value):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue