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

Add possible to generate new csv file #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wafcio
Copy link
Contributor

@wafcio wafcio commented Jun 14, 2015

It is usefull when user want to generate csv report.

@solnic
Copy link
Member

solnic commented Jun 16, 2015

Hmm. Feels like this should be optional behavior. I'm not sure if it's a good idea to make rom-csv write files to disk in such an implicit way. Typical setup means that a file exists already and data will be taken from there.

@wafcio
Copy link
Contributor Author

wafcio commented Jun 16, 2015

In each database at the beginning you don't have data. In database with schema you don't have problem with headers, because schema tell us about it. In database without schema you don't have problem with headers at all.

Unfortunatelly CSV file require from user to put headers at the beginning of file (first line). In your opinion first two lines (headers line + one data line) should be write in typical way and then user can use rom-csv. I think it will be good when user can create whole data by rom-csv.

For example, when user want generate report to CSV than he can use ROM and ROM will be more popular in this case.

Ok, I can agree with you that my proposition isn't the best but I think this kind of limit should be remove.

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

Successfully merging this pull request may close these issues.

2 participants