peewee Documentation Release 3.4.0changes. 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. Bugs Member.delete().where(Member.memid == 37) Delete based on a subquery How can we make that more general, to delete all members who have never made a booking? DELETE FROM members WHERE NOT EXISTS ( SELECT Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.3.0Successful 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. 1.4 Member.delete().where(Member.memid == 37) Delete based on a subquery How can we make that more general, to delete all members who have never made a booking? DELETE FROM members WHERE NOT EXISTS ( SELECT Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0Successful 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. 1.4 Member.delete().where(Member.memid == 37) Delete based on a subquery How can we make that more general, to delete all members who have never made a booking? DELETE FROM members WHERE NOT EXISTS ( SELECT Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.0.0changes. 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. Bugs Member.delete().where(Member.memid == 37) Delete based on a subquery How can we make that more general, to delete all members who have never made a booking? DELETE FROM members WHERE NOT EXISTS ( SELECT Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.6.0changes. 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. Bugs Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be information about the window function APIs, see: Function.over() Function.filter() Window For general information on window functions, the postgresql docs [http://www.postgresql.org/docs/9.1/static/tutorial-window0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0Successful 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. 1.4 Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be information about the window function APIs, see: • Function.over() • Function.filter() • Window For general information on window functions, the postgresql docs. have a good overview. 1.7.17 Retrieving row0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.5.0changes. 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. Bugs Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be Employee.salary, fn.rank().over( order_by=[Employee.salary]))) For general information on window functions, check out the postgresql docs [http://www.postgresql.org/docs/90 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.1.0changes. 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. Bugs Member.delete().where(Member.memid == 37) Delete based on a subquery How can we make that more general, to delete all members who have never made a booking? DELETE FROM members WHERE NOT EXISTS ( SELECT Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.5.0Successful 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. 1.4 Managing Transactions Peewee provides several interfaces for working with transactions. The most general is the Database.atomic() method, which also supports nested transactions. atomic() blocks will be (Employee .select( Employee.name, Employee.salary, fn.rank().over( order_by=[Employee.salary]))) For general information on window functions, check out the postgresql docs. 1.7.17 Retrieving row tuples / dictionaries0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation Release 2.10.2changes. 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. Bugs Employee.salary, fn.rank().over( order_by=[Employee.salary]))) For general information on window functions, check out the postgresql docs [http://www.postgresql.org/docs/9 consider when using prefetch(): Foreign keys must exist between the models being prefetched. In general it is more performant than aggregate_rows(). Typically a lot less data is transferred over the wire0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2













