peewee Documentation Release 2.10.2
Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying Creating a new record Bulk inserts Updating existing records to go through the generated code to add indexes, fix unrecognized column types, and resolve any circular references that were found. Adding Request Hooks When building web-applications, it is very important order_by(Category.name)) Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note My personal opinion is that circular foreign keys are a0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 2.10.2
to go through the generated code to add indexes, fix unrecognized column types, and resolve any circular references that were found. 1.6.14 Adding Request Hooks When building web-applications, it is order_by(Category.name)) 1.7.7 Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note: My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key,0 码力 | 221 页 | 844.06 KB | 1 年前3peewee Documentation Release 3.5.0
Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying Creating a new record Bulk inserts Updating existing records order_by(Category.name)) Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key,0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 3.6.0
Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying Creating a new record Bulk inserts Updating existing records order_by(Category.name)) Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key,0 码力 | 377 页 | 399.12 KB | 1 年前3peewee Documentation Release 3.4.0
Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying Creating a new record Bulk inserts Updating existing records order_by(Category.name)) Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key,0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.5.0
order_by(Category.name)) 1.6.7 Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note: My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key, (str) – Model name to reference. Field class for representing a deferred foreign key. Useful for circular foreign-key references, for example: class Husband(Model): name = TextField() wife = DeferredForeignKey('Wife'0 码力 | 282 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.6.0
order_by(Category.name)) 1.6.7 Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note: My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key, (str) – Model name to reference. Field class for representing a deferred foreign key. Useful for circular foreign-key references, for example: class Husband(Model): name = TextField() wife = DeferredForeignKey('Wife'0 码力 | 302 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.3.0
Release 3.3.0 1.7.8 Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note: My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key, foreign-key constraints are created as part of table creation. The exception is when you are creating a circular foreign-key relationship using DeferredForeignKey. In those cases, it is necessary to first create0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
order_by(Category.name)) 1.7.8 Circular foreign key dependencies Sometimes it happens that you will create a circular dependency between two tables. Note: My personal opinion is that circular foreign keys are a a code smell and should be refactored (by adding an intermediary table, for instance). Adding circular foreign keys with peewee is a bit tricky because at the time you are defining either foreign key, foreign-key constraints are created as part of table creation. The exception is when you are creating a circular foreign-key relationship using DeferredForeignKey. In those cases, it is necessary to first create0 码力 | 284 页 | 1.03 MB | 1 年前3PyMuPDF 1.12.2 documentation
a point sequence Page.drawRect() PDF only: draw a rectangle Page.drawSector() PDF only: draw a circular sector Page.drawSquiggle() PDF only: draw a squiggly line Page.drawZigzag() PDF only: draw a zig-zagged roundCap = True, fullSector = True, overlay = True, closePath = False, morph = None) PDF only: Draw a circular sector, optionally connecting the arc to the circle’s center (like a piece of pie). drawPolyline(points drawPolyline() connect a sequence of points Shape.drawRect() draw a rectangle Shape.drawSector() draw a circular sector or piece of pie Shape.drawSquiggle() draw a squiggly line Shape.drawZigzag() draw a zigzag0 码力 | 387 页 | 2.70 MB | 1 年前3
共 170 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17