MCPcopy Create free account
hub / github.com/PostHog/duckgres / CopyFromOptions

Struct CopyFromOptions

server/conn_copy.go:56–65  ·  view source on GitHub ↗

CopyFromOptions contains parsed options from a COPY FROM STDIN command

Source from the content-addressed store, hash-verified

54
55// CopyFromOptions contains parsed options from a COPY FROM STDIN command
56type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected