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

Method executemany

crates/stdlib/src/_sqlite3.rs:1126–1135  ·  view source on GitHub ↗
(
            zelf: PyRef<Self>,
            sql: PyUtf8StrRef,
            seq_of_params: ArgIterable,
            vm: &VirtualMachine,
        )

Source from the content-addressed store, hash-verified

1124
1125 #[pymethod]
1126 fn executemany(
1127 zelf: PyRef<Self>,
1128 sql: PyUtf8StrRef,
1129 seq_of_params: ArgIterable,
1130 vm: &VirtualMachine,
1131 ) -> PyResult<PyRef<Cursor>> {
1132 let row_factory = zelf.row_factory.to_owned();
1133 let cursor = Cursor::new(zelf, row_factory, vm).into_ref(&vm.ctx);
1134 Cursor::executemany(cursor, sql, seq_of_params, vm)
1135 }
1136
1137 #[pymethod]
1138 fn executescript(

Calls 15

newFunction · 0.85
columns_descriptionMethod · 0.80
db_lockMethod · 0.80
is_autocommitMethod · 0.80
begin_transactionMethod · 0.80
bind_parametersMethod · 0.80
step_row_else_doneMethod · 0.80
changesMethod · 0.80
busyMethod · 0.80
ErrClass · 0.50
SomeClass · 0.50
to_ownedMethod · 0.45