CopyFromOptions contains parsed options from a COPY FROM STDIN command
| 54 | |
| 55 | // CopyFromOptions contains parsed options from a COPY FROM STDIN command |
| 56 | type CopyFromOptions struct { |
| 57 | TableName string |
| 58 | ColumnList string // Empty string or "(col1, col2, ...)" |
| 59 | Delimiter string |
| 60 | HasHeader bool |
| 61 | NullString string |
| 62 | Quote string // Quote character (default " for CSV) |
| 63 | Escape string // Escape character (default same as Quote) |
| 64 | IsBinary bool // True if FORMAT binary |
| 65 | } |
| 66 | |
| 67 | // DuckDB sizes CSV buffers from MAX_LINE_SIZE. Keep enough headroom for large |
| 68 | // records without exhausting the memory available to a standard worker. |
nothing calls this directly
no outgoing calls
no test coverage detected