Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export data to .csv #22

Open
wswtizer opened this issue Aug 19, 2016 · 3 comments
Open

Export data to .csv #22

wswtizer opened this issue Aug 19, 2016 · 3 comments

Comments

@wswtizer
Copy link

Include the ability to export data to .csv, filtered on namespace.

@wswtizer
Copy link
Author

@glynnbird Me again :) Any chance I could get this functionality? Perhaps this week? :)

Thanks.

@wswtizer
Copy link
Author

At this time, I'm not interested in getting the information from the 'body' field - if that helps...

@glynnbird
Copy link

This is now possible with couchimport version 0.5.0

var opts = {
  COUCH_URL: process.env.COUCH_URL,
  COUCH_IGNORE_FIELDS: ['image','url'],
  COUCH_DATABASE: 'aa'
};

couchimport.exportStream(process.stdout, opts, function(err, data) {
  console.log(err, data);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants