mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-15 21:14:10 +02:00
parent
03ee97d225
commit
4d9a320436
3 changed files with 9 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ If you want to pretty-print the output further, you can pipe it through ``python
|
|||
}
|
||||
]
|
||||
|
||||
If you execute an `UPDATE` or `INSERT` query the comand will return the number of affected rows::
|
||||
If you execute an ``UPDATE``, ``INSERT`` or ``DELETE`` query the comand will return the number of affected rows::
|
||||
|
||||
$ sqlite-utils dogs.db "update dogs set age = 5 where name = 'Cleo'"
|
||||
[{"rows_affected": 1}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue