@@ -90,8 +90,8 @@ impl Connection {
9090 pub async fn execute_many < ' a > (
9191 self_ : pyo3:: Py < Self > ,
9292 querystring : String ,
93- prepared : Option < bool > ,
9493 parameters : Option < Vec < Py < PyAny > > > ,
94+ prepared : Option < bool > ,
9595 ) -> RustPSQLDriverPyResult < ( ) > {
9696 let db_client = pyo3:: Python :: with_gil ( |gil| self_. borrow ( gil) . db_client . clone ( ) ) ;
9797 let mut params: Vec < Vec < PythonDTO > > = vec ! [ ] ;
@@ -168,8 +168,8 @@ impl Connection {
168168 pub async fn fetch_row (
169169 self_ : pyo3:: Py < Self > ,
170170 querystring : String ,
171- prepared : Option < bool > ,
172171 parameters : Option < pyo3:: Py < PyAny > > ,
172+ prepared : Option < bool > ,
173173 ) -> RustPSQLDriverPyResult < PSQLDriverSinglePyQueryResult > {
174174 let db_client = pyo3:: Python :: with_gil ( |gil| self_. borrow ( gil) . db_client . clone ( ) ) ;
175175
@@ -220,8 +220,8 @@ impl Connection {
220220 pub async fn fetch_val < ' a > (
221221 self_ : pyo3:: Py < Self > ,
222222 querystring : String ,
223- prepared : Option < bool > ,
224223 parameters : Option < pyo3:: Py < PyAny > > ,
224+ prepared : Option < bool > ,
225225 ) -> RustPSQLDriverPyResult < Py < PyAny > > {
226226 let db_client = pyo3:: Python :: with_gil ( |gil| self_. borrow ( gil) . db_client . clone ( ) ) ;
227227
@@ -272,10 +272,10 @@ impl Connection {
272272 self . db_client . clone ( ) ,
273273 false ,
274274 false ,
275- HashSet :: new ( ) ,
276275 isolation_level,
277276 read_variant,
278277 deferrable,
278+ HashSet :: new ( ) ,
279279 )
280280 }
281281}
0 commit comments