simonw / sqlite-utils

Python CLI utility and library for manipulating SQLite databases
https://sqlite-utils.datasette.io
Apache License 2.0
1.58k stars 106 forks source link

insert-files accept multiple --pk #621

Closed simonw closed 4 months ago

simonw commented 4 months ago

Looking at https://sqlite-utils.datasette.io/en/latest/cli-reference.html there are other commands that should accept multiple primary keys as well:

The transform command accepts multiple --pk already.

Originally posted by @simonw in https://github.com/simonw/sqlite-utils/issues/620#issuecomment-2002202380

simonw commented 4 months ago

No actually insert and upsert already support that: https://github.com/simonw/sqlite-utils/blob/23be5be1dc94299b987f0f47eedda15fb45854f0/sqlite_utils/cli.py#L869-L874