MCPcopy Index your code
hub / github.com/RustPython/RustPython / _exec

Method _exec

crates/stdlib/src/_sqlite3.rs:2878–2882  ·  view source on GitHub ↗
(self, sql: &[u8], vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

2876 }
2877
2878 fn _exec(self, sql: &[u8], vm: &VirtualMachine) -> PyResult<()> {
2879 let ret =
2880 unsafe { sqlite3_exec(self.db, sql.as_ptr().cast(), None, null_mut(), null_mut()) };
2881 self.check(ret, vm)
2882 }
2883
2884 fn prepare(
2885 self,

Callers 4

rollbackMethod · 0.45
set_autocommitMethod · 0.45
implicit_commitMethod · 0.45
begin_transactionMethod · 0.45

Calls 3

castMethod · 0.45
as_ptrMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected