File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
module/move/gspread/src/actions Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -867,6 +867,39 @@ use std::usize;
867867 }
868868 }
869869
870+ // pub async fn get_rows_2< S : Secret >
871+ // (
872+ // client : &Client< '_, S >,
873+ // spreadsheet_id : &str,
874+ // sheet_name : &str,
875+ // ) -> Result< Vec< Vec< serde_json::Value > > >
876+ // {
877+ // // let range = format!( "{}!A2:ZZZ", sheet_name );
878+ // let mut rows = Vec::new();
879+ // let batch_size = 10000;
880+ // for start in 1..180000 {
881+
882+ // }
883+ // match client
884+ // .spreadsheet()
885+ // .values_get( spreadsheet_id, &range )
886+ // .value_render_option( ValueRenderOption::UnformattedValue )
887+ // .doit()
888+ // .await
889+ // {
890+ // Ok( response ) =>
891+ // {
892+ // match response.values
893+ // {
894+ // Some( values ) => Ok( values ),
895+ // None => Ok( Vec::new() )
896+ // }
897+ // }
898+ // Err( error ) => Err( error )
899+ // }
900+
901+ // }
902+
870903 /// # `get_cell`
871904 ///
872905 /// Retrieves the value of a specific cell from a Google Sheet.
You can’t perform that action at this time.
0 commit comments