Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCopyDelimiter = '\t'
View Source
const UseDynamicSize = -1
Variables ¶
View Source
var DefaultCopyTerminationSeq = []byte("\\.")
View Source
var DefaultNullSeq = []byte("\\N")
View Source
var ErrIndexOutOfRage = errors.New("wrong column idx: index out of range")
Functions ¶
Types ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
Row - the row driver that works with vanilla COPY format
func (*Row) Encode ¶
Encode - return encoded bytes from golang representation to COPY format. if SetColumn has never been called than original raw data will be returned
Click to show internal directories.
Click to hide internal directories.