Generating a CSV file with ROM

Generating a CSV file with ROM

794f638b6f7f5132d5a13230e61c9db2?s=128

Krzysztof Wawer

June 17, 2015
Tweet

Transcript

  1. GENERA TING A CSV FILE WITH ROM

  2. Krzysztof Wawer GITHUB: wafcio TWITTER: @KrzysztofWawer ABOUT ME

  3. None
  4. None
  5. CRUD

  6. RUBY CSV CREATE

  7. RUBY CSV CREATE

  8. RUBY CSV READ

  9. RUBY OBJECT MAPPER

  10. CRUD ROM

  11. ROM READ CREATE UPDATE DELETE

  12. ROM-CSV 1. Read data 2. Create dataset

  13. ROM-CSV • ROM::Memory::Dataset • ROM::ArrayDataset (support module) • ROM::EnumerableDataset (support

    module)
  14. ROM-CSV Methods: • join • project (select) • restrict (where)

    • order
  15. ROM-CSV • Like database • Generate CSV report

  16. ROM-CSV https://github.com/rom-rb/rom-csv/tree/master/examples