peewee Documentation Release 3.4.0Models and Fields Fields Field-naming conflicts Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default can greatly simplify this. Check the schema migrations docs for details. Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0Adding a new Database Driver Models and Fields Fields Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default can greatly simplify this. Check the schema migrations docs for details. Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.3.0Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default greatly simplify this. Check the schema migrations docs for details. 1.7.4 Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special 0x7f51a2f03790> The ModelOptions class implements several methods which may be of use for retrieving model metadata (such as lists of fields, foreign key relationships, and more). >>> Person._meta.fields {'id':0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default greatly simplify this. Check the schema migrations docs for details. 1.7.4 Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special 0x7f51a2f03790> The ModelOptions class implements several methods which may be of use for retrieving model metadata (such as lists of fields, foreign key relationships, and more). >>> Person._meta.fields {'id':0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.0.0Adding a new Database Driver Models and Fields Fields Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default can greatly simplify this. Check the schema migrations docs for details. Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0Adding a new Database Driver Models and Fields Fields Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default can greatly simplify this. Check the schema migrations docs for details. Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation
Release 3.5.0Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default greatly simplify this. Check the schema migrations docs for details. 1.6.3 Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special 0x7f51a2f03790> The ModelOptions class implements several methods which may be of use for retrieving model metadata (such as lists of fields, foreign key relationships, and more). >>> Person._meta.fields {'id':0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.6.0Adding a new Database Driver Models and Fields Fields Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default can greatly simplify this. Check the schema migrations docs for details. Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. 1.6. greatly simplify this. Check the schema migrations docs for details. 1.6.3 Model options and table metadata In order not to pollute the model namespace, model-specific configuration is placed in a special 0x7f51a2f03790> The ModelOptions class implements several methods which may be of use for retrieving model metadata (such as lists of fields, foreign key relationships, and more). >>> Person._meta.fields {'id':0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 2.10.2a new Database Driver Models and Fields Fields Creating model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential Models Fields Query Types Database and its subclasses Transaction, Savepoint and ExecutionContext Metadata Types Misc Hacks Optimistic Locking Top object per group Top N objects per group Writing custom Because of this, default is implemented purely in python and choices are not validated but exist for metadata purposes only. To add database (server-side) constraints, use the constraints parameter. Default0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2













