Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ commit
Method
commit
crates/stdlib/src/_sqlite3.rs:1099–1101 ·
view source on GitHub ↗
(&self, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
1097
1098
#[pymethod]
1099
fn commit(&self, vm: &VirtualMachine) -> PyResult<()> {
1100
self.db_lock(vm)?.implicit_commit(vm)
1101
}
1102
1103
#[pymethod]
1104
fn rollback(&self, vm: &VirtualMachine) -> PyResult<()> {
Callers
15
test_whichdb_sqlite3_existing_db
Method · 0.80
test_on_conflict_rollback
Method · 0.80
test_commit_cursor_reset
Method · 0.80
test_table_lock_cursor_replace_stmt
Method · 0.80
test_table_lock_cursor_dealloc
Method · 0.80
test_table_lock_cursor_non_readonly_select
Method · 0.80
test_dump_autoincrement_create_new_db
Method · 0.80
test_unicode_content
Method · 0.80
setUp
Method · 0.80
progress
Method · 0.80
test_database_source_name
Method · 0.80
test_update_starts_transaction
Method · 0.80
Calls
2
implicit_commit
Method · 0.80
db_lock
Method · 0.80
Tested by
15
test_whichdb_sqlite3_existing_db
Method · 0.64
test_on_conflict_rollback
Method · 0.64
test_commit_cursor_reset
Method · 0.64
test_table_lock_cursor_replace_stmt
Method · 0.64
test_table_lock_cursor_dealloc
Method · 0.64
test_table_lock_cursor_non_readonly_select
Method · 0.64
test_dump_autoincrement_create_new_db
Method · 0.64
test_unicode_content
Method · 0.64
setUp
Method · 0.64
progress
Method · 0.64
test_database_source_name
Method · 0.64
test_update_starts_transaction
Method · 0.64