peewee Documentation Release 3.6.0
Database Using Postgresql Using SQLite Using MySQL Connecting using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications support for SQLite, MySQL and Postgres. Each database class provides some basic, database-specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db 'synchronous': 0}) # Let the OS manage syncing. PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (SQLite documentation [https://www.sqlite0 码力 | 377 页 | 399.12 KB | 1 年前3peewee Documentation Release 3.5.0
Database Using Postgresql Using SQLite Using MySQL Connecting using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications support for SQLite, MySQL and Postgres. Each database class provides some basic, database-specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db 'synchronous': 0}) # Let the OS manage syncing. PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation [https://www.sqlite.org/pragma0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 3.4.0
Database Using Postgresql Using SQLite Using MySQL Connecting using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications support for SQLite, MySQL and Postgres. Each database class provides some basic, database-specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db SqliteExtDatabase('my_app.db', journal_mode='WAL') PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation [https://www.sqlite.org/pragma0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.6.0
support for SQLite, MySQL and Postgres. Each database class provides some basic, database- specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db 'synchronous': 0}) # Let the OS manage syncing. PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (SQLite documentation). These statements are full list of PRAGMA settings, their meaning and accepted values can be found in the SQLite documentation: http://sqlite.org/pragma.html Recommended Settings The following settings are what I use with0 码力 | 302 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.5.0
support for SQLite, MySQL and Postgres. Each database class provides some basic, database- specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db 'synchronous': 0}) # Let the OS manage syncing. PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation). These statements are typically to be run whenever a connection is opened, specify permanent=True. Note: A full list of PRAGMA settings, their meaning and accepted values can be found in the SQLite documentation: http://sqlite.org/pragma0 码力 | 282 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.1.0
Database Using Postgresql Using SQLite Using MySQL Connecting using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications support for SQLite, MySQL and Postgres. Each database class provides some basic, database-specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db SqliteExtDatabase('my_app.db', journal_mode='WAL') PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation [https://www.sqlite.org/pragma0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 3.3.0
support for SQLite, MySQL and Postgres. Each database class provides some basic, database- specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db SqliteExtDatabase('my_app.db', journal_mode='WAL') PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation). These statements are typically documentation. 1.6.6 Run-time database configuration Sometimes the database connection settings are not known until run-time, when these values may be loaded from a configuration file or the environment. In these0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
support for SQLite, MySQL and Postgres. Each database class provides some basic, database- specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db SqliteExtDatabase('my_app.db', journal_mode='WAL') PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation). These statements are typically documentation. 1.6.6 Run-time database configuration Sometimes the database connection settings are not known until run-time, when these values may be loaded from a configuration file or the environment. In these0 码力 | 284 页 | 1.03 MB | 1 年前3peewee Documentation Release 2.10.2
BerkeleyDB Using MySQL Connecting using a Database URL Multi-threaded applications Run-time database configuration Dynamically defining a database Connection Pooling Read Slaves Schema migrations Generating Models p.db', journal_mode='WAL') PRAGMA statements New in version 2.6.4. SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation [https://www.sqlite.org/pragma threadlocals=False. Run-time database configuration Sometimes the database connection settings are not known until run-time, when these values may be loaded from a configuration file or the environment. In these0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 3.0.0
Database Using Postgresql Using SQLite Using MySQL Connecting using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Framework Integration support for SQLite, MySQL and Postgres. Each database class provides some basic, database-specific configuration options. from peewee import * # SQLite database using WAL journal mode and 64MB cache. sqlite_db SqliteExtDatabase('my_app.db', journal_mode='WAL') PRAGMA statements SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation [https://www.sqlite.org/pragma0 码力 | 319 页 | 361.50 KB | 1 年前3
共 16 条
- 1
- 2