peewee Documentation Release 3.5.0
peewee Attention Peewee 3.0 has been released (you are looking at the 3.0 documentation). To see a list of backwards-incompatible changes, see the list of changes. Peewee is a simple and small ORM. Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection API Documentation Database Query-builder Fields Schema Manager Model Query-builder Internals Constants and Helpers clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation on Querying for more info. Working with existing databases If you already have a database, you0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 1.0.0
index next | peewee 1.0.0 documentation » peewee a small orm written in python provides a lightweight querying interface over sql uses sql concepts when querying, like joins and where clauses support © Copyright charles leifer. Created using Sphinx 1.1.2. index next | previous | peewee 1.0.0 documentation » Overview peewee is a lightweight ORM [http://en.wikipedia.org/wiki/Object-relational_mapping] © Copyright charles leifer. Created using Sphinx 1.1.2. index next | previous | peewee 1.0.0 documentation » Installing peewee pip install peewee Installing with git You can pip install the git clone:0 码力 | 101 页 | 163.20 KB | 1 年前3peewee Documentation Release 3.0.0
Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema Manager Model Query-builder Internals Constants and Helpers clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation on Querying for more info. Working with existing databases If you already have a database, you your changes. Successful patches will have the following: Unit tests. Documentation, both prose form and general API documentation. Code that conforms stylistically with the rest of the Peewee codebase0 码力 | 319 页 | 361.50 KB | 1 年前3peewee Documentation Release 3.4.0
peewee Attention Peewee 3.0 has been released (you are looking at the 3.0 documentation). To see a list of backwards-incompatible changes, see the list of changes. Peewee is a simple and small ORM. Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema Manager Model Query-builder Internals Constants and Helpers clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation on Querying for more info. Working with existing databases If you already have a database, you0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 2.10.2
clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation on Querying for more info. Working with existing databases If you already have a database, you your changes. Successful patches will have the following: Unit tests. Documentation, both prose form and general API documentation. Code that conforms stylistically with the rest of the Peewee codebase MySQLDatabase('database_name', user='www-data', charset='utf8mb4') Consult your database driver’s documentation for the available parameters: Postgres: psycopg2 [http://initd.org/psycopg/docs/module.html#psycopg20 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 0.9.7
index next | peewee 0.9.7 documentation » peewee a small orm written in python provides a lightweight querying interface over sql uses sql concepts when querying, like joins and where clauses Contents: Copyright 2011, charles leifer. Created using Sphinx 1.1.3. index next | previous | peewee 0.9.7 documentation » Overview peewee is a lightweight ORM [http://en.wikipedia.org/wiki/Object-relational_mapping] Copyright 2011, charles leifer. Created using Sphinx 1.1.3. index next | previous | peewee 0.9.7 documentation » Installing peewee pip install peewee Installing with git You can pip install the git clone:0 码力 | 78 页 | 143.68 KB | 1 年前3peewee Documentation Release 3.6.0
Joining on arbitrary fields Self-joins Implementing Many to Many Avoiding the N+1 problem API Documentation Database Query-builder Fields Schema Manager Model Query-builder Internals Constants and Helpers in-depth guide to working with relationships and joins, refer to the Relationships and Joins documentation. We can avoid the extra queries by selecting both Pet and Person, and adding a join. query = close() This is just the basics! You can make your queries as complex as you like. Check the documentation on querying for more info. Working with existing databases If you already have a database, you0 码力 | 377 页 | 399.12 KB | 1 年前3peewee Documentation Release 3.1.0
peewee Attention Peewee 3.0 has been released (you are looking at the 3.0 documentation). To see a list of backwards-incompatible changes, see the list of changes. Peewee is a simple and small ORM. Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema Manager Model Query-builder Internals Constants and Helpers clauses are available as well, such as: group_by() having() limit() and offset() Check the documentation on Querying for more info. Working with existing databases If you already have a database, you0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 1.0.0
peewee Documentation Release 1.0.0 charles leifer January 12, 2013 CONTENTS i ii peewee Documentation, Release 1.0.0 • a small orm • written in python • provides a lightweight querying interface integration, including an admin interface and RESTful API, check out flask-peewee. CONTENTS 1 peewee Documentation, Release 1.0.0 2 CONTENTS CHAPTER ONE CONTENTS: 1.1 Overview peewee is a lightweight ORM tweets by editors Tweet.filter(Q(user__is_staff=True) | Q(user__is_superuser=True)) 3 peewee Documentation, Release 1.0.0 You can use python operators to create select queries: # how many active users0 码力 | 71 页 | 405.29 KB | 1 年前3peewee Documentation Release 3.5.0
peewee Documentation Release 3.5.0 charles leifer Jul 27, 2018 Contents 1 Contents: 3 1.1 Installing and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 1.9 API Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 1.10 269 3 Indices and tables 271 i ii peewee Documentation, Release 3.5.0 Attention: Peewee 3.0 has been released (you are looking at the 3.0 documentation). To see a list of backwards- incompatible changes0 码力 | 282 页 | 1.02 MB | 1 年前3
共 16 条
- 1
- 2