peewee Documentation
Release 3.5.0Creating a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0Creating a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have http://localhost:5000/ 1.3.2 Diving into the code For simplicity all example code is contained within a single module, examples/twitter/app.py. For a guide on structuring larger Flask apps with peewee, check0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have http://localhost:5000/ 1.3.2 Diving into the code For simplicity all example code is contained within a single module, examples/twitter/app.py. For a guide on structuring larger Flask apps with peewee, check0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.6.0a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.3.0databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have http://localhost:5000/ 1.3.2 Diving into the code For simplicity all example code is contained within a single module, examples/twitter/app.py. For a guide on structuring larger Flask apps with peewee, check0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.6.0databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have http://localhost:5000/ 1.3.2 Diving into the code For simplicity all example code is contained within a single module, examples/twitter/app.py. For a guide on structuring larger Flask apps with peewee, check0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.0.0Creating a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use SelectQuery.get(): grandma = have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.1.0Creating a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use Select.get(): grandma = Person have one owner, so when we performed the join from Pet to Person, there was always going to be a single match. The situation is different when we are joining from Person to Pet because a person may have0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 2.10.2Creating a new record Bulk inserts Updating existing records Atomic updates Deleting records Selecting a single record Create or get Selecting multiple records Filtering records Sorting records Getting random databases are excellent for making ad-hoc queries. Getting single records Let’s retrieve Grandma’s record from the database. To get a single record from the database, use SelectQuery.get(): >>> grandma http://localhost:5000/ Diving into the code For simplicity all example code is contained within a single module, examples/twitter/app.py. For a guide on structuring larger Flask apps with peewee, check0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2













