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 [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:')0 码力 | 319 页 | 361.50 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 [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:')0 码力 | 349 页 | 382.34 KB | 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 [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:')0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 2.10.2Existing Databases Adding Request Hooks Additional connection initialization Advanced Connection Management Using multiple databases Database Errors Automatic Reconnect Logging queries Generating skeleton [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Additional Resources I’ve written see the Adding Request Hooks section. Note For advanced connection management techniques, see the advanced connection management section. To use this database with your models, set the database attribute0 码力 | 275 页 | 276.96 KB | 1 年前3
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 [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:')0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation
Release 3.3.0and interested in more? Check out flask-peewee - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.3. Example app 17 peewee Documentation instead use Database.init(). See Run-time database configuration for more details. 1.6.8 Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:') cover all use-cases, but in the unlikely event you want to temporarily disable Peewee’s transaction management completely, you can use the Database.manual_commit() context-manager/decorator. Here is how you0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0and interested in more? Check out flask-peewee - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.3. Example app 17 peewee Documentation configuration for more details. 1.6. Database 47 peewee Documentation, Release 3.4.0 1.6.8 Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:') cover all use-cases, but in the unlikely event you want to temporarily disable Peewee’s transaction management completely, you can use the Database.manual_commit() context-manager/decorator. Here is how you0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 2.10.2and interested in more? Check out flask-peewee - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.4 Additional Resources I’ve written see the Adding Request Hooks section. Note: For advanced connection management techniques, see the advanced connection management section. To use this database with your models, set the database attribute initialize_connection(self, conn): self.execute_sql('PRAGMA foreign_keys=ON;') 1.6.16 Advanced Connection Management Managing your database connections is as simple as calling connect() when you need to open a connection0 码力 | 221 页 | 844.06 KB | 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 [https://github.com/coleifer/flask-peewee] - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:')0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.5.0and interested in more? Check out flask-peewee - a flask plugin that provides a django-like Admin interface, RESTful API, Authentication and more for your peewee models. 1.4 Contributing In order to continually instead use Database.init(). See Run-time database configuration for more details. 1.5.8 Connection Management To open a connection to a database, use the Database.connect() method: >>> db = SqliteDatabase(':memory:') cover all use-cases, but in the unlikely event you want to temporarily disable Peewee’s transaction management completely, you can use the Database.manual_commit() context-manager/decorator. Here is how you0 码力 | 282 页 | 1.02 MB | 1 年前3
共 16 条
- 1
- 2













