peewee Documentation
Release 2.10.2will 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 年前3
peewee Documentation
Release 3.3.0can 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 年前3
peewee Documentation
Release 3.4.0can 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 年前3
Firebird 2.5 Language Reference395 10.1.6. Internal Savepoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396 10.1.7. Savepoints and PSQL . . . . . . . rdb$set_context('USER_SESSION', 'RecordsFound', RecCounter); select rdb$set_context('USER_TRANSACTION', 'Savepoints', 'Yes') from rdb$database Notes • The maximum number of variables in any single context is variables set with RDB$SET_CONTEXT() remain unchanged. • Any savepoints that were created after the one named are destroyed. Savepoints earlier than the one named are preserved, along with the named0 码力 | 521 页 | 2.30 MB | 1 年前3
Fault-tolerance demo & reconfiguration - CS 591 K1: Data Stream Processing and Analytics Spring 20207 Restart strategies ??? Vasiliki Kalavri | Boston University 2020 Reconfiguration with Savepoints ??? Vasiliki Kalavri | Boston University 2020 • Change parallelism • scale out to process increased • Checkpoints are automatically created and removed by Flink. • Savepoints are never automatically removed. 14 savepoint Savepoints: user-triggered checkpoints ??? Vasiliki Kalavri | Boston University0 码力 | 41 页 | 4.09 MB | 1 年前3
peewee Documentation
Release 3.5.0can 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 年前3
firebird 40 language reference567 12.1.6. Internal Savepoints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568 12.1.7. Savepoints and PSQL . . . . . . . rdb$set_context('USER_SESSION', 'RecordsFound', RecCounter); select rdb$set_context('USER_TRANSACTION', 'Savepoints', 'Yes') from rdb$database See also RDB$GET_CONTEXT() 8.2. Mathematical Functions 8.2.1. variables set with RDB$SET_CONTEXT() remain unchanged. • Any savepoints that were created after the one named are destroyed. Savepoints earlier than the one named are preserved, along with the named0 码力 | 778 页 | 3.43 MB | 1 年前3
peewee Documentation
Release 3.6.0can 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 码力 | 302 页 | 1.02 MB | 1 年前3
Spring Framwork Data Access v5.3.36 SNAPSHOTUnderstanding PROPAGATION_NESTED PROPAGATION_NESTED uses a single physical transaction with multiple savepoints that it can roll back to. Such partial rollbacks let an inner transaction scope trigger a rollback transaction despite some operations having been rolled back. This setting is typically mapped onto JDBC savepoints, so it works only with JDBC resource transactions. See Spring’s DataSourceTransactionManager. getConnection and can therefore be used in any case. The DataSourceTransactionManager class supports savepoints (PROPAGATION_NESTED), custom isolation levels, and timeouts that get applied as appropriate JDBC0 码力 | 197 页 | 2.76 MB | 1 年前3
Django 2.1.x Documentationthe database, unless a transaction is active. See below for details. Django uses transactions or savepoints automatically to guarantee the integrity of ORM operations that require multiple queries, especially produces an exception, Django rolls back the transaction. You may perform subtransactions using savepoints in your view code, typically with the atomic() context manager. However, at the end of the view or rolls back the transaction when exiting the outermost block. You can disable the creation of savepoints for inner blocks by setting the savepoint argument to False. If an exception occurs, Django will0 码力 | 1910 页 | 6.49 MB | 1 年前3
共 118 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12













