-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support for appending new record to the existing file #194
Comments
When you open the file, either open in append mode, or open and seek to the end of the file. You can do this all via the |
Just thought I'd mention a detail about this: where it's complicated is when there's a header for a CSV you're writing. That's the situation where having some real 'append' logic would help. However, I'm not sure where that responsibility would lie. |
So you're appending and you have headers, so it writes the header again? Does turning headers off for writing not work in that situation? |
Yeah, the way I was going to resolve was to actually set it via some logic at runtime with an if-check on |
Current WriteRecord/WriteRecords methods overwrite existing records.
No support for appending new record to the existing file.
The text was updated successfully, but these errors were encountered: