Method
executescript
(
zelf: PyRef<Self>,
script: PyUtf8StrRef,
vm: &VirtualMachine,
)
Source from the content-addressed store, hash-verified
| 1136 | |
| 1137 | #[pymethod] |
| 1138 | fn executescript( |
| 1139 | zelf: PyRef<Self>, |
| 1140 | script: PyUtf8StrRef, |
| 1141 | vm: &VirtualMachine, |
| 1142 | ) -> PyResult<PyRef<Cursor>> { |
| 1143 | let row_factory = zelf.row_factory.to_owned(); |
| 1144 | Cursor::executescript( |
| 1145 | Cursor::new(zelf, row_factory, vm).into_ref(&vm.ctx), |
| 1146 | script, |
| 1147 | vm, |
| 1148 | ) |
| 1149 | } |
| 1150 | |
| 1151 | // TODO: Make it build without clippy::manual_c_str_literals |
| 1152 | #[pymethod] |