View Source ExCatalog.Pdf (ex_catalog v1.2.0)

csv functions.

Link to this section Summary

Link to this section Functions

Link to this function

export(arg, limit \\ 500)

View Source

Export all to files

examples

Examples

iex> categories_template = ExCatalog.Pdf.Template.Category
iex> products_template = ExCatalog.Pdf.Template.Product
iex> ExCatalog.export({categories_template,products_template})
Link to this function

export_categories(template, limit \\ 500, filename \\ "categories.csv")

View Source

Export categories to file

examples

Examples

iex> ExCatalog.export_categories()
Link to this function

export_products(template, limit \\ 500, filename \\ "products.pdf")

View Source

Export products to file

examples

Examples

iex> ExCatalog.export_products()