peewee Documentation Release 3.6.0with git Running tests Optional dependencies Skip Compilation of SQLite Extensions Quickstart Model Definition Storing data Retrieving Data Closing the database Working with existing databases What Database Errors Logging queries Adding 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 Relationships and Joins Model definitions Performing simple joins Joining multiple tables Selecting from multiple sources Subqueries Multiple foreign-keys to the same Model Joining on arbitrary fields0 码力 | 377 页 | 399.12 KB | 1 年前3
 peewee Documentation
Release 3.6.0NO_SQLITE=1 python setup.py build 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This guide will cover: • Model Definition 4 Chapter 1. Contents: peewee Documentation 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 on a table Model instance typically best to begin with your data model, by defining one or more Model classes: from peewee import * db = SqliteDatabase('people.db') class Person(Model): name = CharField() birthday = DateField()0 码力 | 302 页 | 1.02 MB | 1 年前3
 Django 1.11.x DocumentationDjango documentation contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your queries Database transactions Multiple databases Tablespaces Database access optimization Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File removing model fields Data Migrations Squashing migrations Serializing values Supporting Python 2 and 3 Supporting multiple Django versions Managing files Using files in models The File object File storage0 码力 | 2747 页 | 2.67 MB | 1 年前3
 Django 1.11.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 django-admin commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545 4.3 Writing custom model fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 550 4.4 Custom • Advanced Tutorials: How to write reusable apps | Writing your first patch for Django 1.4 The model layer Django provides an abstraction layer (the “models”) for structuring and manipulating the data0 码力 | 1878 页 | 6.40 MB | 1 年前3
 peewee Documentation Release 2.10.2Contents: Installing and Testing Installing with git Running tests Optional dependencies Quickstart Model Definition Storing data Retrieving Data Working with existing databases What next? Example app Running Generating skeleton code Adding 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 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 Read Slaves Test Utils0 码力 | 275 页 | 276.96 KB | 1 年前3
 peewee Documentation
Release 2.10.2extension modules available. 1.2 Quickstart This document presents a brief, high-level overview of Peewee’s primary features. This guide will cover: • Model Definition 4 Chapter 1. Contents: peewee Documentation 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 on a table Model instance typically best to begin with your data model, by defining one or more Model classes: from peewee import * db = SqliteDatabase('people.db') class Person(Model): name = CharField() birthday = DateField()0 码力 | 221 页 | 844.06 KB | 1 年前3
 Django 1.10.x DocumentationDjango documentation contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your queries Database transactions Multiple databases Tablespaces Database access optimization Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File removing model fields Data Migrations Squashing migrations Serializing values Supporting Python 2 and 3 Supporting multiple Django versions Managing files Using files in models The File object File storage0 码力 | 2538 页 | 2.59 MB | 1 年前3
 Django 1.10.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 django-admin commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539 4.3 Writing custom model fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544 4.4 Custom • Advanced Tutorials: How to write reusable apps | Writing your first patch for Django 1.4 The model layer Django provides an abstraction layer (the “models”) for structuring and manipulating the data0 码力 | 1817 页 | 6.19 MB | 1 年前3
 Django 2.0.x DocumentationDjango documentation contents Getting started Django at a glance Design your model Install it Enjoy the free API A dynamic admin interface: it’s not just scaffolding – it’s the whole house Design your Multiple databases Tablespaces Database access optimization Database instrumentation Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Considerations when removing model fields Data Migrations Squashing migrations Serializing values Supporting multiple Django versions Managing files Using files in models The File object File storage Testing0 码力 | 2746 页 | 2.67 MB | 1 年前3
 Django 2.0.x Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 django-admin commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541 4.3 Writing custom model fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546 4.4 Custom • Advanced Tutorials: How to write reusable apps | Writing your first patch for Django 1.4 The model layer Django provides an abstraction layer (the “models”) for structuring and manipulating the data0 码力 | 1880 页 | 6.41 MB | 1 年前3
共 567 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 57
 













