table-to-csv 0.4.0

Parsley CSV is a command-line tool that converts SQL database dumps to CSV files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use chrono::NaiveDate;

/// Represents a database table with its name and column names
#[derive(Debug, Clone)]
pub struct Table {
    pub name: String,
    pub columns: Vec<String>,
}

/// Represents a date filter configuration
#[derive(Debug, Clone)]
pub struct DateFilter {
    pub column_name: String,
    pub start_date: NaiveDate,
    pub end_date: NaiveDate,
}