Common.Table (etl_core v0.1.0)

Module oriented to common functions for working with tables

Link to this section Summary

Functions

Checks if the specified name matches any column

Link to this section Functions

Link to this function

is_attr?(name, table)

Checks if the specified name matches any column

parameter

Parameter:

- table: Atom. Table name. It is assumed that this has implemented the function attr_list/0 -> List(Struct.InfoAttr)

- name: Atom | String. Name of the column to check.

return

Return:

- Boolean.