Edgewall Software

Changes between Version 47 and Version 48 of DatabaseBackend


Ignore:
Timestamp:
Mar 1, 2015, 10:13:08 AM (9 years ago)
Author:
Jun Omae
Comment:

Added parameters for SQLite database backend (#11967)

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBackend

    v47 v48  
    1919
    2020Installed out-of-the-box, provided you have installed the PySqlite bindings.
     21
     22The following parameters are supported:
     23
     24 * `extensions`: Load the extensions, see also [wiki:TracIni#sqlite-section].
     25 * `timeout`: Set timeout to connect the database, `10.0` is used by default.
     26 * `cursor`: `eager` cursor pre-fetching all the rows is used by default. It can be turned off by specifying `cursor=` (#3446).
     27 * `journal_mode`: Set the [https://www.sqlite.org/pragma.html#pragma_journal_mode journal mode] to the database.
     28 * `synchronous`: Set the [https://www.sqlite.org/pragma.html#pragma_synchronous synchronous] flag.
    2129
    2230Known issues: see [query:keywords=~sqlite&status=!closed pysqlite-related tickets].