This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[async_trait] | |
| impl Meetkunde for MeetkundeClient { | |
| async fn send_report(&mut self, table_name: &str, df: &DataFrame) -> Result<()> { | |
| let total_rows = df.height(); | |
| if total_rows == 0 { | |
| return Ok(()); | |
| } | |
| // 1. Convert the WHOLE DataFrame to a CSV string in memory |