mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-24 01:44:31 +02:00
Support for SQLite's INSERT OR IGNORE
In the API layer it looks like this:
fresh_db["test"].insert({"id": 1, "bar": 3}, ignore=True)
For the CLI layer it looks like this:
$ sqlite-utils insert data.db dogs dogs.json --ignore
Closes #21
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_black.py | ||
| test_cli.py | ||
| test_create.py | ||
| test_enable_fts.py | ||
| test_introspect.py | ||
| utils.py | ||