Documentation ¶
Index ¶
- func Data(columns []*Ydb.Column, values []*Ydb.Value) *data
- func WithAllowMissingColumnsFromSelect() allowMissingColumnsFromSelect
- func WithAllowMissingFieldsInStruct() allowMissingFieldsInStruct
- func WithTagName(name string) tagName
- type IndexedScanner
- type NamedDestination
- type NamedScanner
- type ScanStructOption
- type StructScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAllowMissingColumnsFromSelect ¶
func WithAllowMissingColumnsFromSelect() allowMissingColumnsFromSelect
func WithAllowMissingFieldsInStruct ¶
func WithAllowMissingFieldsInStruct() allowMissingFieldsInStruct
func WithTagName ¶
func WithTagName(name string) tagName
Types ¶
type IndexedScanner ¶
type IndexedScanner struct {
// contains filtered or unexported fields
}
func Indexed ¶
func Indexed(data *data) IndexedScanner
func (IndexedScanner) Scan ¶
func (s IndexedScanner) Scan(dst ...interface{}) (err error)
type NamedDestination ¶
type NamedDestination struct {
// contains filtered or unexported fields
}
func NamedRef ¶
func NamedRef(columnName string, destinationValueReference interface{}) (dst NamedDestination)
type NamedScanner ¶
type NamedScanner struct {
// contains filtered or unexported fields
}
func Named ¶
func Named(data *data) NamedScanner
func (NamedScanner) ScanNamed ¶
func (s NamedScanner) ScanNamed(dst ...NamedDestination) (err error)
type ScanStructOption ¶
type ScanStructOption interface {
// contains filtered or unexported methods
}
type StructScanner ¶
type StructScanner struct {
// contains filtered or unexported fields
}
func Struct ¶
func Struct(data *data) StructScanner
func (StructScanner) ScanStruct ¶
func (s StructScanner) ScanStruct(dst interface{}, opts ...ScanStructOption) (err error)
Click to show internal directories.
Click to hide internal directories.