csv parsing a bit simplified
This commit is contained in:
@@ -26,9 +26,9 @@ namespace usql {
|
||||
public:
|
||||
explicit CsvReader(bool skip_hdr = true, char field_sep = ',', char quote_ch = '"', char line_sep = '\r', char line_sep2 = '\n');
|
||||
|
||||
int parseCSV2(const std::string &csvSource, std::vector<ColDefNode> &cols_def, Table& table);
|
||||
size_t parseCSVString(const std::string &csvSource, std::vector<ColDefNode> &cols_def, Table& table);
|
||||
|
||||
int parseCSV(const std::string &filename, std::vector<ColDefNode> &cols_def, Table& table);
|
||||
size_t parseCSVFile(const std::string &filename, std::vector<ColDefNode> &cols_def, Table& table);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user