peewee Documentation
Release 3.5.0using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications Async with Gevent Framework Integration Executing Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils Flask Utils Query Examples Model Definitions Schema Creation Basic Exercises database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to some arbitrary time later0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications Async with Gevent Framework Integration Executing Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils Flask Utils Query Builder Declaring tables Select queries Insert queries Update database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to some arbitrary time later0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.0.0using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Framework Integration Executing Queries Managing Transactions Database Errors Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils Flask Utils Query Builder Declaring tables Select queries Insert queries Update database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to some arbitrary time later0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to 1.2. Quickstart 5 peewee executed. It is also good to close the connection when you are done – for instance, a web app might open a connection when it receives a request, and close the connection when it sends the response. db.connect() Documentation, Release 3.5.0 1.2.4 Closing the database We’re done with our database, let’s close the connection: db.close() This is just the basics! You can make your queries as complex as you like. All the0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to 1.2. Quickstart 5 peewee executed. It is also good to close the connection when you are done – for instance, a web app might open a connection when it receives a request, and close the connection when it sends the response. db.connect() Documentation, Release 3.4.0 1.2.4 Closing the database We’re done with our database, let’s close the connection: db.close() This is just the basics! You can make your queries as complex as you like. All the0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.1.0using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications Framework Integration Executing Queries Managing Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils Flask Utils Query Builder Declaring tables Select queries Insert queries Update database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to some arbitrary time later0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.3.0database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to 1.2. Quickstart 5 peewee executed. It is also good to close the connection when you are done – for instance, a web app might open a connection when it receives a request, and close the connection when it sends the response. db.connect() Documentation, Release 3.3.0 1.2.4 Closing the database We’re done with our database, let’s close the connection: db.close() This is just the basics! You can make your queries as complex as you like. All the0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.6.0using a Database URL Run-time database configuration Dynamically defining a database Connection Management Connection Pooling Testing Peewee Applications Async with Gevent Framework Integration Executing Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils Flask Utils Query Examples Model Definitions Schema Creation Basic Exercises database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to some arbitrary time later0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0database. Although it’s not necessary to open the connection explicitly, it is good practice since it will reveal any errors with your database connection immediately, as opposed to 1.2. Quickstart 5 peewee executed. It is also good to close the connection when you are done – for instance, a web app might open a connection when it receives a request, and close the connection when it sends the response. db.connect() Documentation, Release 3.6.0 1.2.4 Closing the database We’re done with our database, let’s close the connection: db.close() This is just the basics! You can make your queries as complex as you like. Check0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 2.10.2Additional Resources Contributing Patches Bugs Questions Managing your Database Creating a database connection and tables Using Postgresql Using SQLite Using BerkeleyDB Using MySQL Connecting using a Database defining a database Connection Pooling Read Slaves Schema migrations Generating Models from Existing Databases Adding Request Hooks Additional connection initialization Advanced Connection Management Using Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL CSV Utils Connection pool Read Slaves Test Utils pskel Flask Utils API Reference Models Fields Query Types Database0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2













