View Source Csv2sql.Helpers (Csv2sql v1.0.0)

Common Helper functions

Summary

Functions

Link to this function

format_datetime(datetime, is_date)

View Source
@spec format_datetime(String.t(), boolean()) :: DateTime.t() | Date.t() | nil
@spec get_config(any()) :: any()
Link to this function

get_csv_headers(file_path)

View Source
@spec get_csv_headers(binary()) :: [String.t()]