 peewee Documentation Release 3.6.0To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() L.') Lists of records Let’s list all the people in the database: for person in Person.select(): print(person.name) # prints: # Bob # Grandma L. # Herb Let’s list all the cats and their owner’s where(Pet.owner == uncle_bob).order_by(Pet.name): print(pet.name) # prints: # Fido # Kitty Let’s list all the people now, youngest to oldest: for person in Person.select().order_by(Person.birthday.desc()):0 码力 | 377 页 | 399.12 KB | 1 年前3 peewee Documentation Release 3.6.0To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() L.') Lists of records Let’s list all the people in the database: for person in Person.select(): print(person.name) # prints: # Bob # Grandma L. # Herb Let’s list all the cats and their owner’s where(Pet.owner == uncle_bob).order_by(Pet.name): print(pet.name) # prints: # Fido # Kitty Let’s list all the people now, youngest to oldest: for person in Person.select().order_by(Person.birthday.desc()):0 码力 | 377 页 | 399.12 KB | 1 年前3
 peewee Documentation
Release 3.6.0To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() 'Grandma L.') Lists of records Let’s list all the people in the database: for person in Person.select(): print(person.name) # prints: # Bob # Grandma L. # Herb Let’s list all the cats and their owner’s name: where(Pet.owner == uncle_bob).order_by(Pet.name): print(pet.name) # prints: # Fido # Kitty Let’s list all the people now, youngest to oldest: for person in Person.select().order_by(Person.birthday.desc()):0 码力 | 302 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.6.0To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() 'Grandma L.') Lists of records Let’s list all the people in the database: for person in Person.select(): print(person.name) # prints: # Bob # Grandma L. # Herb Let’s list all the cats and their owner’s name: where(Pet.owner == uncle_bob).order_by(Pet.name): print(pet.name) # prints: # Fido # Kitty Let’s list all the people now, youngest to oldest: for person in Person.select().order_by(Person.birthday.desc()):0 码力 | 302 页 | 1.02 MB | 1 年前3
 peewee Documentation
Release 3.5.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 347 页 | 380.80 KB | 1 年前3 peewee Documentation
Release 3.5.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 347 页 | 380.80 KB | 1 年前3
 peewee Documentation
Release 3.5.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 282 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.5.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 282 页 | 1.02 MB | 1 年前3
 peewee Documentation Release 3.4.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 349 页 | 382.34 KB | 1 年前3 peewee Documentation Release 3.4.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 349 页 | 382.34 KB | 1 年前3
 peewee Documentation
Release 3.4.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 284 页 | 1.03 MB | 1 年前3 peewee Documentation
Release 3.4.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 284 页 | 1.03 MB | 1 年前3
 peewee Documentation
Release 3.3.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 280 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.3.00 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. It has few (but expressive) schema migrations, and much more). Peewee’s source code hosted on GitHub. New to peewee? Here is a list of documents you might find most helpful when getting started: • Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 280 页 | 1.02 MB | 1 年前3
 peewee Documentation Release 3.0.0Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() records Let’s list all the people in the database: for person in Person.select(): print person.name, person.is_relative # prints: # Bob True # Grandma L. True # Herb False Let’s list all the cats0 码力 | 319 页 | 361.50 KB | 1 年前3 peewee Documentation Release 3.0.0Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save() records Let’s list all the people in the database: for person in Person.select(): print person.name, person.is_relative # prints: # Bob True # Grandma L. True # Herb False Let’s list all the cats0 码力 | 319 页 | 361.50 KB | 1 年前3
 peewee Documentation Release 3.1.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 332 页 | 370.77 KB | 1 年前3 peewee Documentation Release 3.1.03.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. It has few (but expressive) Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: grandma.name = 'Grandma L.' grandma.save()0 码力 | 332 页 | 370.77 KB | 1 年前3
 peewee Documentation Release 2.10.2Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: >>> grandma.name = 'Grandma L.' >>> grandma records Let’s list all the people in the database: >>> for person in Person.select(): ... print person.name, person.is_relative ... Bob True Grandma L. True Herb False Let’s list all the cats and0 码力 | 275 页 | 276.96 KB | 1 年前3 peewee Documentation Release 2.10.2Peewee’s source code hosted on GitHub [https://github.com/coleifer/peewee]. New to peewee? Here is a list of documents you might find most helpful when getting started: Quickstart guide – this guide covers To update a row, modify the model instance and call save() to persist the changes. Here we will change Grandma’s name and then save the changes in the database: >>> grandma.name = 'Grandma L.' >>> grandma records Let’s list all the people in the database: >>> for person in Person.select(): ... print person.name, person.is_relative ... Bob True Grandma L. True Herb False Let’s list all the cats and0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2














