WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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.

3 participants