sqlite-utils/sqlite_utils
Simon Willison 57e43baece Table options can now be passed to constructor OR to insert_all()
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
2019-07-22 16:30:54 -07:00
..
__init__.py Now you just 'from sqlite_utils import Database' 2018-07-30 20:30:23 -07:00
cli.py Use pysqlite3 if available 2019-07-22 15:39:35 -07:00
db.py Table options can now be passed to constructor OR to insert_all() 2019-07-22 16:30:54 -07:00
utils.py Use pysqlite3 if available 2019-07-22 15:39:35 -07:00