peewee Documentation Release 2.10.2BerkeleyDB 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 records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving raw tuples / dictionaries Returning Clause Query 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/pragma0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation Release 3.0.0Database 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 records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning 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_db0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0Database 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 operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection API Documentation Database Query-builder Fields Schema Manager Model Query-builder 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_db0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0Database 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 records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning 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_db0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0Database 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 records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning 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_db0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 3.6.0Database 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 operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection Relationships and Joins Model definitions Performing simple joins Joining multiple 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_db0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 2.10.22.6.4. 20 Chapter 1. Contents: peewee Documentation, Release 2.10.2 SQLite allows run-time configuration of a number of parameters through PRAGMA statements (documentation). These statements are typically 10.2 1.6.8 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 these database_proxy # Use proxy for our DB. class User(BaseModel): username = CharField() # Based on configuration, use a different database. if app.config['DEBUG']: database = SqliteDatabase('local.db') elif0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation
Release 3.5.0support 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 documentation. 1.5.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 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0support 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 年前3
peewee Documentation
Release 3.4.0support 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 年前3
共 16 条
- 1
- 2













