 peewee Documentation Release 3.0.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 319 页 | 361.50 KB | 1 年前3 peewee Documentation Release 3.0.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 319 页 | 361.50 KB | 1 年前3
 peewee Documentation
Release 3.5.0operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection API Documentation Database Query-builder Fields Schema Manager Model Query-builder example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 347 页 | 380.80 KB | 1 年前3 peewee Documentation
Release 3.5.0operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection API Documentation Database Query-builder Fields Schema Manager Model Query-builder example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 347 页 | 380.80 KB | 1 年前3
 peewee Documentation Release 3.4.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 349 页 | 382.34 KB | 1 年前3 peewee Documentation Release 3.4.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 349 页 | 382.34 KB | 1 年前3
 peewee Documentation Release 3.1.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 332 页 | 370.77 KB | 1 年前3 peewee Documentation Release 3.1.0records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving row tuples / dictionaries / namedtuples Returning example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 332 页 | 370.77 KB | 1 年前3
 peewee Documentation Release 3.6.0operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection Relationships and Joins Model definitions Performing simple joins Joining multiple example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 377 页 | 399.12 KB | 1 年前3 peewee Documentation Release 3.6.0operators Three valued logic Adding user-defined operators Expressions SQL Functions SQL Helper Security and SQL Injection Relationships and Joins Model definitions Performing simple joins Joining multiple example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) executing any type of query 2. RawQuery for executing SELECT queries and returning model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 377 页 | 399.12 KB | 1 年前3
 peewee Documentation
Release 3.5.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.6 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 282 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.5.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.6 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 282 页 | 1.02 MB | 1 年前3
 peewee Documentation
Release 3.3.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.17 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 280 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.3.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.17 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 280 页 | 1.02 MB | 1 年前3
 peewee Documentation
Release 3.4.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): (continues on next page) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.17 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 284 页 | 1.03 MB | 1 年前3 peewee Documentation
Release 3.4.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): (continues on next page) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.17 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 284 页 | 1.03 MB | 1 年前3
 peewee Documentation
Release 3.6.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.6 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 302 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.6.0this example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) any type of query 2. RawQuery for executing SELECT queries and returning model instances. 1.8.6 Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the perspective which model the ManyToManyField goes on, since the back-reference is just the mirror image. In order to write valid Python, though, you will need to add the ManyToManyField on the second model0 码力 | 302 页 | 1.02 MB | 1 年前3
 peewee Documentation Release 2.10.2records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving raw tuples / dictionaries Returning Clause Query example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) Person.raw('select * from person'): print person.name # .raw() will return model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 275 页 | 276.96 KB | 1 年前3 peewee Documentation Release 2.10.2records Aggregating records Retrieving Scalar Values SQL Functions, Subqueries and “Raw expressions” Security and SQL Injection Window functions Retrieving raw tuples / dictionaries Returning Clause Query example we’ll use some different models in a many-to-many configuration: class Photo(Model): image = CharField() class Tag(Model): name = CharField() class PhotoTag(Model): photo = ForeignKeyField(Photo) Person.raw('select * from person'): print person.name # .raw() will return model instances. Security and SQL Injection By default peewee will parameterize queries, so any parameters passed in by the0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2














