peewee Documentation Release 2.10.2Extensions DataSet Django Integration Fields Generic foreign keys Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL CSV Utils Connection PeeweeException. Automatic Reconnect Peewee provides very basic support for automatic reconnecting in the Shortcuts module, through the use of the RetryOperationalError mixin. This mixin will automatically reconnect and if it fails twice an exception will be raised. Usage: from peewee import * from playhouse.shortcuts import RetryOperationalError class MyRetryDB(RetryOperationalError, MySQLDatabase): pass db0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.26.19 Automatic Reconnect Peewee provides very basic support for automatic reconnecting in the Shortcuts module, through the use of the RetryOperationalError mixin. This mixin will automatically reconnect and if it fails twice an exception will be raised. Usage: from peewee import * from playhouse.shortcuts import RetryOperationalError class MyRetryDB(RetryOperationalError, MySQLDatabase): pass db = BerkeleyDB backend • Sqlcipher backend • Postgresql Extensions High-level features • Fields • Shortcuts • Hybrid Attributes • Signal support • DataSet • Key/Value Store • Generic foreign keys 820 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0advanced sqlite driver Sqlcipher backend Postgresql Extensions DataSet Fields Hybrid Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool query attribute _select has changed to _returning The case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a an advanced sqlite driver Sqlcipher backend Postgresql Extensions High-level features Fields Shortcuts Hybrid Attributes Signal support DataSet Database management and framework integration pwiz, a0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0backend Postgresql Extensions MySQL Extensions DataSet Fields Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool sqlite driver Sqlcipher backend Postgresql Extensions MySQL Extensions High-level features Fields Shortcuts Hybrid Attributes Key/Value Store Signal support DataSet Database management and framework integration in which case an empty list is returned. clear() Remove all items from the key-value table. Shortcuts Parameters: This module contains helper functions for expressing things that would otherwise be0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0backend Postgresql Extensions MySQL Extensions DataSet Fields Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool any callable to use as an alternate constructor. The Case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a sqlite driver Sqlcipher backend Postgresql Extensions MySQL Extensions High-level features Fields Shortcuts Hybrid Attributes Key/Value Store Signal support DataSet Database management and framework integration0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0advanced sqlite driver Sqlcipher backend Postgresql Extensions DataSet Fields Hybrid Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool any callable to use as an alternate constructor. The Case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a an advanced sqlite driver Sqlcipher backend Postgresql Extensions High-level features Fields Shortcuts Hybrid Attributes Signal support DataSet Database management and framework integration pwiz, a0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 3.6.0backend Postgresql Extensions MySQL Extensions DataSet Fields Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool sqlite driver Sqlcipher backend Postgresql Extensions MySQL Extensions High-level features Fields Shortcuts Hybrid Attributes Key/Value Store Signal support DataSet Database management and framework integration in which case an empty list is returned. clear() Remove all items from the key-value table. Shortcuts Parameters: This module contains helper functions for expressing things that would otherwise be0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.5.0extensions to Peewee 181 peewee Documentation, Release 3.5.0 High-level features • Fields • Shortcuts • Hybrid Attributes • Key/Value Store • Signal support • DataSet Database management and framework which case an empty list is returned. clear() Remove all items from the key-value table. 1.11.11 Shortcuts This module contains helper functions for expressing things that would otherwise be somewhat verbose any callable to use as an alternate constructor. The Case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0any callable to use as an alternate constructor. The Case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a Sqlcipher backend • Postgresql Extensions • MySQL Extensions High-level features • Fields • Shortcuts • Hybrid Attributes • Key/Value Store • Signal support • DataSet Database management and framework which case an empty list is returned. clear() Remove all items from the key-value table. 1.16.11 Shortcuts This module contains helper functions for expressing things that would otherwise be somewhat verbose0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0any callable to use as an alternate constructor. The Case() helper has moved from the playhouse.shortcuts module into the main peewee module. The cast() method is no longer a function, but instead is a Sqlcipher backend • Postgresql Extensions • MySQL Extensions High-level features • Fields • Shortcuts • Hybrid Attributes • Key/Value Store • Signal support • DataSet Database management and framework which case an empty list is returned. clear() Remove all items from the key-value table. 1.16.11 Shortcuts This module contains helper functions for expressing things that would otherwise be somewhat verbose0 码力 | 284 页 | 1.03 MB | 1 年前3
共 11 条
- 1
- 2













