peewee Documentation Release 3.6.0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 1.16 Changes in 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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() # Update describing your proposed changes. This doesn’t have to be anything formal, just a description of what you’d like to do and why. When you’re ready, you can submit a pull-request with your changes. Successful patches0 码力 | 302 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.6.0
Optimistic Locking Top object per group Top N objects per group Writing custom functions with SQLite Changes in 3.0 Backwards-incompatible New stuff Note If you find any bugs, odd behavior, or have an idea 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() # Update describing your proposed changes. This doesn’t have to be anything formal, just a description of what you’d like to do and why. When you’re ready, you can submit a pull-request with your changes. Successful patches0 码力 | 377 页 | 399.12 KB | 1 年前3peewee Documentation Release 2.10.2
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() describing your proposed changes. This doesn’t have to be anything formal, just a description of what you’d like to do and why. When you’re ready, you can submit a pull-request with your changes. Successful patches you are using your database in autocommit mode (the default) then you should not need to make any changes to your code. If you are using autocommit=False, you will need to explicitly call begin() before0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 2.10.2
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() describing your proposed changes. This doesn’t have to be anything formal, just a description of what you’d like to do and why. When you’re ready, you can submit a pull-request with your changes. Successful patches you are using your database in autocommit mode (the default) then you should not need to make any changes to your code. If you are using autocommit=False, you will need to explicitly call begin() before0 码力 | 221 页 | 844.06 KB | 1 年前3peewee Documentation Release 3.3.0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 1.13 Changes in 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (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) concepts, making it 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() # Update0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 1.13 Changes in 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (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) concepts, making it 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() # Update0 码力 | 284 页 | 1.03 MB | 1 年前3peewee Documentation Release 3.4.0
(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) concepts, making it Transactions Context manager Decorator Nesting Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema 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() # Update0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.1.0
(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) concepts, making it Transactions Context manager Decorator Nesting Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema 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() # Update0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 3.0.0
Transactions Context manager Decorator Nesting Transactions Explicit transaction Autocommit Mode Changes in 3.0 Backwards-incompatible New stuff API Documentation Database Query-builder Fields Schema 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() # Update describing your proposed changes. This doesn’t have to be anything formal, just a description of what you’d like to do and why. When you’re ready, you can submit a pull-request with your changes. Successful patches0 码力 | 319 页 | 361.50 KB | 1 年前3peewee Documentation Release 3.5.0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 1.15 Changes in 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (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) concepts, making it 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() # Update0 码力 | 282 页 | 1.02 MB | 1 年前3
共 12 条
- 1
- 2