peewee Documentation
Release 3.5.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document feel for typing in queries. 1.2.1 Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to. . . Model class Database table Field instance Column so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia). This is easy to do with peewee: class0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document feel for typing in queries. 1.2.1 Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to. . . Model class Database table Field instance Column so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia). This is easy to do with peewee: class0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 3.3.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document feel for typing in queries. 1.2.1 Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to. . . Model class Database table Field instance Column so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia). This is easy to do with peewee: class0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.6.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build 1.2 Quickstart This document feel for typing in queries. 1.2.1 Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to. . . Model class Database table Field instance Column so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign key relationships. This is simple with peewee: class0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 2.10.2tables Using Postgresql Using SQLite Using BerkeleyDB Using MySQL Connecting using a Database URL Multi-threaded applications Run-time database configuration Dynamically defining a database Connection Pooling get a feel for typing in queries. Model Definition Model classes, fields and model instances all map to database concepts: Thing Corresponds to… Model class Database table Field instance Column on so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia) [http://en.wikipedia.org/wiki/Foreign_key]0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2feel for typing in queries. 1.2.1 Model Definition Model classes, fields and model instances all map to database concepts: Thing Corresponds to. . . Model class Database table Field instance Column so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia). This is easy to do with peewee: class to_user = ForeignKeyField(User, related_name='related_to') class Meta: indexes = ( # Specify a unique multi-column index on from/to-user. (('from_user', 'to_user'), True), ) # a dead simple one-to-many relationship:0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0get a feel for typing in queries. Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to… Model class Database table Field instance Column on so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia) [http://en.wikipedia.org/wiki/Foreign_key] indicating # whether the index is unique or not. indexes = ( # Specify a unique multi-column index on from/to-user. (('from_user', 'to_user'), True), ) # a dead simple0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document get a feel for typing in queries. Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to… Model class Database table Field instance Column on so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia) [http://en.wikipedia.org/wiki/Foreign_key]0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document get a feel for typing in queries. Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to… Model class Database table Field instance Column on so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign keys (wikipedia) [http://en.wikipedia.org/wiki/Foreign_key]0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.6.0library. If you would like to simply skip compilation of the SQLite-specific C extensions, you can set the NO_SQLITE environment variable: $ NO_SQLITE=1 python setup.py build Quickstart This document get a feel for typing in queries. Model Definition Model classes, fields and model instances all map to database concepts: Object Corresponds to… Model class Database table Field instance Column on so you can use Python types in your code without having to worry. Things get interesting when we set up relationships between models using foreign key relationships. This is simple with peewee: class0 码力 | 377 页 | 399.12 KB | 1 年前3
共 16 条
- 1
- 2













