Skip to content

Destination

ubermanu edited this page Apr 8, 2016 · 1 revision

dest defines process output, it can be a db or a file

CLI

Example
dest:
    type: cli

JSON

Options
string filename Path to json file
boolean pretty Readable output
boolean unicode Convert unicode characters
Example
dest:
    type: json
    filename: file.json
    pretty: true

CSV

Options
string filename Path to csv file
string delimiter Value separator
string enclosure Strings enclosure
boolean header Insert header in the first line
Example
dest:
    type: csv
    filename: file.csv
    header: true

DB

Options
string dbtype Database type: mysql, oracle, postgresql, etc...
string dbname Database name
string host Host server IP or DNS
string table Table name
string username
string password
string unique Use update if these item fields match another item(s)
Example
dest:
    type: db
    dbname: io
    host: 8.8.8.8
    table: test
    unique: [ uid ]
Clone this wiki locally