observe_import_csv_definition/2

Find an import definition for a CSV file by checking the filename of the to be imported file.

Type:

first

Return:

#import_csv_definition{} or undefined (in which case the column headers are used as property names)

#import_csv_definition{} properties:

  • basename: binary

  • filename: file:filename_all()

Edit on GitHub