peewee Documentation Release 3.0.0new_query = query.where(MyModel.field == ‘value’) unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table END AS "num_str" # FROM "numbers" class NodeList(nodes[, glue=' '[, parens=False]]) nodes (list) – Zero or more nodes. glue (str) – How to join the nodes when converting to SQL parens (bool) – Whether to list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) nodes (list) – Zero or more nodes. a NodeList Represent a list of nodes joined by commas. EnclosedNodeList(nodes) nodes0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table END AS "num_str" # FROM "numbers" class NodeList(nodes[, glue=' '[, parens=False]]) nodes (list) – Zero or more nodes. glue (str) – How to join the nodes when converting to SQL parens (bool) – Whether to list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) nodes (list) – Zero or more nodes. a NodeList Represent a list of nodes joined by commas. EnclosedNodeList(nodes) nodes0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table END AS "num_str" # FROM "numbers" class NodeList(nodes[, glue=' '[, parens=False]]) nodes (list) – Zero or more nodes. glue (str) – How to join the nodes when converting to SQL parens (bool) – Whether to list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) nodes (list) – Zero or more nodes. a NodeList Represent a list of nodes joined by commas. EnclosedNodeList(nodes) nodes0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table END AS "num_str" # FROM "numbers" class NodeList(nodes[, glue=' '[, parens=False]]) nodes (list) – Zero or more nodes. glue (str) – How to join the nodes when converting to SQL parens (bool) – Whether to list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) nodes (list) – Zero or more nodes. a NodeList Represent a list of nodes joined by commas. EnclosedNodeList(nodes) nodes0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.5.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table "num_str" # FROM "numbers" class NodeList(nodes[, glue=’ ’[, parens=False]]) Parameters • nodes (list) – Zero or more nodes. • glue (str) – How to join the nodes when converting to SQL. • parens (bool) Represent a list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) Parameters nodes (list) – Zero or more nodes. Returns a NodeList Represent a list of nodes joined by commas0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table "num_str" # FROM "numbers" class NodeList(nodes[, glue=’ ’[, parens=False]]) Parameters • nodes (list) – Zero or more nodes. • glue (str) – How to join the nodes when converting to SQL. • parens (bool) Represent a list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) Parameters nodes (list) – Zero or more nodes. Returns a NodeList Represent a list of nodes joined by commas0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. class Source([alias=None]) A source of row tuples, for example a table "num_str" # FROM "numbers" class NodeList(nodes[, glue=’ ’[, parens=False]]) Parameters • nodes (list) – Zero or more nodes. • glue (str) – How to join the nodes when converting to SQL. • parens (bool) Represent a list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) Parameters nodes (list) – Zero or more nodes. Returns a NodeList Represent a list of nodes joined by commas0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 2.10.2atabase.db') db.load_extension('/path/to/closure') model_class – The model class containing the nodes in the tree. foreign_key – The self-referential parent-node field on the model class. If not provided include_node=False]]) Retrieve all descendants of the given node. If a depth is specified, only nodes at that depth (relative to the given node) will be returned. node = Category.get(Category.name == depth=None[, include_node=False]]) Retrieve all ancestors of the given node. If a depth is specified, only nodes at that depth (relative to the given node) will be returned. node = Category.get(Category.name ==0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2db.load_extension('/path/to/closure') Parameters • model_class – The model class containing the nodes in the tree. • foreign_key – The self-referential parent-node field on the model class. If not provided include_node=False]]) Retrieve all descendants of the given node. If a depth is specified, only nodes at that depth (relative to the given node) will be returned. 96 Chapter 1. Contents: peewee Documentation depth=None[, include_node=False]]) Retrieve all ancestors of the given node. If a depth is specified, only nodes at that depth (relative to the given node) will be returned. node = Category.get(Category.name ==0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.6.0new_query = query.where(MyModel.field == 'value') unwrap() API for recursively unwrapping “wrapped” nodes. Base case is to return self. is_alias() API for determining if a node, at any point, has been explicitly END AS "num_str" # FROM "numbers" class NodeList(nodes[, glue=' '[, parens=False]]) nodes (list) – Zero or more nodes. glue (str) – How to join the nodes when converting to SQL parens (bool) – Whether to list of nodes, a multi-part clause, a list of parameters, etc. CommaNodeList(nodes) nodes (list) – Zero or more nodes. a NodeList Represent a list of nodes joined by commas. EnclosedNodeList(nodes) nodes0 码力 | 377 页 | 399.12 KB | 1 年前3
共 11 条
- 1
- 2













