File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " psqlpy"
3- version = " 0.11.4 "
3+ version = " 0.11.5 "
44edition = " 2021"
55
66# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Original file line number Diff line number Diff line change @@ -308,15 +308,8 @@ class Cursor:
308308 """
309309
310310 array_size : int
311- cursor_name : str
312311 querystring : str
313312 parameters : ParamsT = None
314- prepared : bool | None
315- conn_dbname : str | None
316- user : str | None
317- host_addrs : list [str ]
318- hosts : list [str ]
319- ports : list [int ]
320313
321314 def __aiter__ (self : Self ) -> Self : ...
322315 async def __anext__ (self : Self ) -> QueryResult : ...
Original file line number Diff line number Diff line change @@ -73,6 +73,16 @@ impl Drop for Cursor {
7373
7474#[ pymethods]
7575impl Cursor {
76+ #[ getter]
77+ fn get_querystring ( & self ) -> Option < String > {
78+ self . querystring . clone ( )
79+ }
80+
81+ #[ getter]
82+ fn get_parameters ( & self ) -> Option < Py < PyAny > > {
83+ self . parameters . clone ( )
84+ }
85+
7686 #[ getter]
7787 fn get_array_size ( & self ) -> i32 {
7888 self . array_size
You can’t perform that action at this time.
0 commit comments