csvto v0.1.3 Csvto behaviour
Behaviour for converting csv to & from a file
A Csvto is a collection of csv schemas, which is used to map data from csv file into Elixir maps
By default we provide Csvto.Builder to help with building a Csvto, see more details in Csvto.Builder
Link to this section Summary
Callbacks
Convert a csv file specified by path to a list of map according to given schema
Link to this section Types
Link to this section Callbacks
Link to this callback
from(path, schema)
from(path :: String.t(), schema :: atom()) :: from_result_t()
Convert a csv file specified by path to a list of map according to given schema
Link to this callback
from(path, schema, options)
from(path :: String.t(), schema :: atom(), options :: Keyword.t()) :: from_result_t()