mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
If you want to set default options for a table, you can do this:
table = db.table("dogs", pk="id", column_order=["name", "age"])
If you pass those keyword arguments to the .insert/.update/etc
methods they will over-ride the defaults you set on the table.
table = db["dogs"] # This still works too
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_black.py | ||
| test_cli.py | ||
| test_create.py | ||
| test_enable_fts.py | ||
| test_get.py | ||
| test_introspect.py | ||
| utils.py | ||