Execute sqlite3 “dot” commands from Python or register collation in command line utility

前端 未结 6 1156
轮回少年
轮回少年 2021-02-07 01:34

My sqlite3 database contains a \"collate\" column-constraint. I\'ve placed it in the schema for the table, to prevent accidentally neglecting to use the necessary collation. How

6条回答
  •  醉话见心
    2021-02-07 01:40

    The APSW Python wrapper for SQLite does include a shell compatible with the SQLite one. You can also extend it to add more commands of your own choosing, extra output modes etc. (Disclosure: I am the APSW author.)

    • APSW shell
    • Difference between APSW and pysqlite

提交回复
热议问题