99
1010 fn prepare ( & mut self , sql : & str ) -> RawResult < & mut Self > ;
1111
12- fn bind ( & mut self , datas : & [ Stmt2BindData ] ) -> RawResult < & mut Self > ;
12+ fn bind ( & mut self , params : & [ Stmt2BindParam ] ) -> RawResult < & mut Self > ;
1313
1414 fn exec ( & mut self ) -> RawResult < usize > ;
1515
1616 fn affected_rows ( & self ) -> usize ;
1717
18- fn result ( & self ) -> RawResult < Q :: ResultSet > ;
18+ fn result_set ( & self ) -> RawResult < Q :: ResultSet > ;
1919}
2020
2121#[ async_trait:: async_trait]
@@ -28,23 +28,23 @@ where
2828
2929 async fn prepare ( & mut self , sql : & str ) -> RawResult < & mut Self > ;
3030
31- async fn bind ( & mut self , datas : & [ Stmt2BindData ] ) -> RawResult < & mut Self > ;
31+ async fn bind ( & mut self , params : & [ Stmt2BindParam ] ) -> RawResult < & mut Self > ;
3232
3333 async fn exec ( & mut self ) -> RawResult < usize > ;
3434
3535 async fn affected_rows ( & self ) -> usize ;
3636
37- async fn result ( & self ) -> RawResult < Q :: AsyncResultSet > ;
37+ async fn result_set ( & self ) -> RawResult < Q :: AsyncResultSet > ;
3838}
3939
4040#[ derive( Clone , Debug ) ]
41- pub struct Stmt2BindData {
41+ pub struct Stmt2BindParam {
4242 table_name : Option < String > ,
4343 tags : Option < Vec < Value > > ,
4444 columns : Option < Vec < ColumnView > > ,
4545}
4646
47- impl Stmt2BindData {
47+ impl Stmt2BindParam {
4848 pub fn new (
4949 table_name : Option < String > ,
5050 tags : Option < Vec < Value > > ,
0 commit comments