Rust

Rows of one table from a CSV file, typed by the table's columns.

Contents

use utopia_migration::sources::csv::Csv;
Rust
pub struct Csv

Rows of one table from a CSV file on a storage device. The header names the columns; values are typed by the table's columns, read from the project's database. The file is deleted after the export.

Also implements Debug.
use utopia_migration::sources::csv::detect_delimiter;
Rust
pub fn detect_delimiter<R: Read>(stream: R) -> io::Result<u8>

The delimiter of CSV data: of ,, ;, tab and |, the one that splits the first five non-blank lines into the most consistent number of fields with the most fields longer than one character (, when none splits anything).