peewee Documentation Release 2.10.2
using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction that you use atomic(). Explicit Savepoints Just as you can explicitly create transactions, you can also explicitly create savepoints using the savepoint() method. Savepoints must occur within a transaction0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 2.10.2
will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more that you use atomic(). Explicit Savepoints Just as you can explicitly create transactions, you can also explicitly create savepoints using the savepoint() method. Savepoints must occur within a transaction • Manages the underlying database connection. • Executes queries. • Manage transactions and savepoints. • Create and drop tables and indexes. • Introspect the database. commit_select = False Whether0 码力 | 221 页 | 844.06 KB | 1 年前3peewee Documentation Release 3.0.0
and then can be used to: Open and close connections. Execute queries. Manage transactions (and savepoints). Introspect tables, columns, indexes, and constraints. Model integration Peewee comes with support using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction0 码力 | 319 页 | 361.50 KB | 1 年前3peewee Documentation Release 3.4.0
and then can be used to: Open and close connections. Execute queries. Manage transactions (and savepoints). Introspect tables, columns, indexes, and constraints. Model integration Peewee comes with support using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.1.0
and then can be used to: Open and close connections. Execute queries. Manage transactions (and savepoints). Introspect tables, columns, indexes, and constraints. Model integration Peewee comes with support using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 3.3.0
can be used to: • Open and close connections. • Execute queries. • Manage transactions (and savepoints). • Introspect tables, columns, indexes, and constraints. • Model integration Peewee comes with will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more that you use atomic(). Explicit Savepoints Just as you can explicitly create transactions, you can also explicitly create savepoints using the savepoint() method. Savepoints must occur within a transaction0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
can be used to: • Open and close connections. • Execute queries. • Manage transactions (and savepoints). • Introspect tables, columns, indexes, and constraints. • Model integration Peewee comes with will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more that you use atomic(). Explicit Savepoints Just as you can explicitly create transactions, you can also explicitly create savepoints using the savepoint() method. Savepoints must occur within a transaction0 码力 | 284 页 | 1.03 MB | 1 年前3peewee Documentation Release 3.5.0
and then can be used to: Open and close connections. Execute queries. Manage transactions (and savepoints). Introspect tables, columns, indexes, and constraints. Peewee comes with support for SQLite, using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 3.5.0
can be used to: • Open and close connections. • Execute queries. • Manage transactions (and savepoints). • Introspect tables, columns, indexes, and constraints. Peewee comes with support for SQLite will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more that you use atomic(). Explicit Savepoints Just as you can explicitly create transactions, you can also explicitly create savepoints using the savepoint() method. Savepoints must occur within a transaction0 码力 | 282 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.6.0
and then can be used to: Open and close connections. Execute queries. Manage transactions (and savepoints). Introspect tables, columns, indexes, and constraints. Peewee comes with support for SQLite, using atomic(), the outer-most call will be wrapped in a transaction, and any nested calls will use savepoints. with db.atomic() as txn: perform_operation() with db.atomic() as nested_txn: perform_another_operation() Peewee supports nested transactions through the use of savepoints (for more information, see savepoint()). Explicit transaction If you wish to explicitly run code in a transaction0 码力 | 377 页 | 399.12 KB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5