 peewee Documentation
Release 3.5.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 347 页 | 380.80 KB | 1 年前3 peewee Documentation
Release 3.5.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 347 页 | 380.80 KB | 1 年前3
 peewee Documentation Release 3.4.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() get_cursor() has0 码力 | 349 页 | 382.34 KB | 1 年前3 peewee Documentation Release 3.4.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() get_cursor() has0 码力 | 349 页 | 382.34 KB | 1 年前3
 peewee Documentation
Release 3.5.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. 1.7. Querying 63 peewee print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 282 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.5.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. 1.7. Querying 63 peewee print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 282 页 | 1.02 MB | 1 年前3
 peewee Documentation
Release 3.4.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database • get_conn() has changed to Database.connection() • get_cursor()0 码力 | 284 页 | 1.03 MB | 1 年前3 peewee Documentation
Release 3.4.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database • get_conn() has changed to Database.connection() • get_cursor()0 码力 | 284 页 | 1.03 MB | 1 年前3
 peewee Documentation Release 2.10.2print tweet.user.username, '-', tweet.message Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have ' ', tweet.message Ordinarily, user.tweets would be a SelectQuery and iterating over it would trigger an additional query. By using aggregate_rows(), though, user.tweets is a Python list and no additional access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 275 页 | 276.96 KB | 1 年前3 peewee Documentation Release 2.10.2print tweet.user.username, '-', tweet.message Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have ' ', tweet.message Ordinarily, user.tweets would be a SelectQuery and iterating over it would trigger an additional query. By using aggregate_rows(), though, user.tweets is a Python list and no additional access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 275 页 | 276.96 KB | 1 年前3
 peewee Documentation
Release 2.10.2print tweet.user.username, '-', tweet.message Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have print ' ', tweet.message Ordinarily, user.tweets would be a SelectQuery and iterating over it would trigger an additional query. By using aggregate_rows(), though, user.tweets is a Python list and no additional access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 221 页 | 844.06 KB | 1 年前3 peewee Documentation
Release 2.10.2print tweet.user.username, '-', tweet.message Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have print ' ', tweet.message Ordinarily, user.tweets would be a SelectQuery and iterating over it would trigger an additional query. By using aggregate_rows(), though, user.tweets is a Python list and no additional access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 221 页 | 844.06 KB | 1 年前3
 peewee Documentation Release 3.6.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have access the database, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 377 页 | 399.12 KB | 1 年前3 peewee Documentation Release 3.6.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have access the database, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 377 页 | 399.12 KB | 1 年前3
 peewee Documentation
Release 3.6.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have access the database, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 302 页 | 1.02 MB | 1 年前3 peewee Documentation
Release 3.6.0a different syntax that allows for more granular control over which constraint violation should trigger the conflict resolution, and what values should be updated or preserved. Example of using on_conflict() print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet. user and retrieve the associated user. But since we have access the database, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). • Most applications can expect failed0 码力 | 302 页 | 1.02 MB | 1 年前3
 peewee Documentation Release 3.0.0print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() execution_context() access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 319 页 | 361.50 KB | 1 年前3 peewee Documentation Release 3.0.0print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() execution_context() access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 319 页 | 361.50 KB | 1 年前3
 peewee Documentation Release 3.1.0print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() get_cursor() has access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 332 页 | 370.77 KB | 1 年前3 peewee Documentation Release 3.1.0print(tweet.user.username, '-', tweet.message) Without the join, accessing tweet.user.username would trigger a query to resolve the foreign key tweet.user and retrieve the associated user. But since we have keep changes backwards-compatible as much as possible. In some places, APIs that have changed will trigger a DeprecationWarning. Database get_conn() has changed to Database.connection() get_cursor() has access the databse, so if you need to know right away whether the passphrase was correct, you can trigger this check by calling [e.g.] get_tables() (see example below). Most applications can expect failed0 码力 | 332 页 | 370.77 KB | 1 年前3
共 14 条
- 1
- 2














