peewee Documentation Release 1.0.0addons apsw, an advanced sqlite driver Postgresql Extensions (hstore, ltree) pwiz, a model generator Signal support Sqlite Extensions Swee’pea, syntactic sugar for peewee Indices and tables Index Module postgres schema -s public The following are valid parameters for the engine: sqlite mysql postgresql Signal support Models with hooks for signals (a-la django) are provided in playhouse.signals. To use the handlers Whenever a signal is dispatched, it will call any handlers that have been registered. This allows totally separate code to respond to events like model save and delete. The Signal class provides a0 码力 | 101 页 | 163.20 KB | 1 年前3
peewee Documentation
Release 2.0.2public The following are valid parameters for the engine: • sqlite • mysql • postgresql 1.10.4 Signal support Models with hooks for signals (a-la django) are provided in playhouse.signals. To use the handlers Whenever a signal is dispatched, it will call any handlers that have been registered. This allows totally separate code to respond to events like model save and delete. The Signal class provides a class. The “name” parameter is used as a convenient alias in the event you wish to unregister your signal handler. Example usage: from playhouse.signals import * def post_save_handler(sender, instance0 码力 | 65 页 | 315.33 KB | 1 年前3
peewee Documentation
Release 1.0.0postgresql 1.9. Playhouse, a collection of addons 59 peewee Documentation, Release 1.0.0 1.9.4 Signal support Models with hooks for signals (a-la django) are provided in playhouse.signals. To use the handlers Whenever a signal is dispatched, it will call any handlers that have been registered. This allows totally separate code to respond to events like model save and delete. The Signal class provides a class. The “name” parameter is used as a convenient alias in the event you wish to unregister your signal handler. Example usage: from playhouse.signals import * def post_save_handler(sender, instance0 码力 | 71 页 | 405.29 KB | 1 年前3
peewee Documentation
Release 3.5.0Postgresql Extensions MySQL Extensions DataSet Fields Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils tuple of row data corresponding to the columns named in the columns attribute. StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows consumed (especially if the user specified a LIMIT on the results). Alternatively, the function can signal that no more data is available by raising a StopIteration exception. classmethod register(conn)0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0Postgresql Extensions MySQL Extensions DataSet Fields Hybrid Attributes Key/Value Store Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils prefix arguments, field definitions, arguments, options) Signals Extension The post_init signal has been removed. New stuff The query-builder has been rewritten from the ground-up to be more tuple of row data corresponding to the columns named in the columns attribute. StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0sqlite driver Sqlcipher backend Postgresql Extensions DataSet Fields Hybrid Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils prefix arguments, field definitions, arguments, options) Signals Extension The post_init signal has been removed. New stuff The query-builder has been rewritten from the ground-up to be more tuple of row data corresponding to the columns named in the columns attribute. StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 3.0.0sqlite driver Sqlcipher backend Postgresql Extensions DataSet Fields Hybrid Attributes Shortcuts Signal support pwiz, a model generator Schema Migrations Reflection Database URL Connection pool Test Utils tuple of row data corresponding to the columns named in the columns attribute. StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows consumed (especially if the user specified a LIMIT on the results). Alternatively, the function can signal that no more data is available by raising a StopIteration exception. classmethod register(conn)0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 2.10.2DataSet 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 pool Sqlcipher backend Postgresql Extensions High-level features Fields Shortcuts Hybrid Attributes Signal support DataSet Key/Value Store Generic foreign keys CSV Utils Database management and framework RetryOperationalError class MyRetryDB(RetryOperationalError, MySQLDatabase): pass db = MyRetryDB('my_app') Signal support Models with hooks for signals (a-la django) are provided in playhouse.signals. To use the0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 3.5.0row data corresponding to the columns named in the columns attribute. Raises StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows consumed (especially if the user specified a LIMIT on the results). Alternatively, the function can signal that no more data is available by raising a StopIteration exception. classmethod register(conn) Release 3.5.0 High-level features • Fields • Shortcuts • Hybrid Attributes • Key/Value Store • Signal support • DataSet Database management and framework integration • pwiz, a model generator • Schema0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0extension_module ( prefix arguments, field definitions, arguments, options) Signals Extension The post_init signal has been removed. 1.13.2 New stuff The query-builder has been rewritten from the ground-up to be row data corresponding to the columns named in the columns attribute. Raises StopIteration – To signal that no more rows are available. This function is called repeatedly and returns successive rows consumed (especially if the user specified a LIMIT on the results). Alternatively, the function can signal that no more data is available by raising a StopIteration exception. classmethod register(conn)0 码力 | 280 页 | 1.02 MB | 1 年前3
共 14 条
- 1
- 2













