Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSingleTableName ¶
Types ¶
type AliasConvert ¶
type RowScanner ¶
type RowScanner struct { Lookup map[string]map[string]string Rows *sql.Rows RawFileDir string RawFileExt string Types []ValueType LowerColumns []string Columns []string SingleQuoted bool }
func NewRowScanner ¶
func NewRowScanner(query string, rows *sql.Rows, options ...RowScannerFn) (*RowScanner, error)
func (RowScanner) Next ¶
func (s RowScanner) Next() bool
func (RowScanner) Scan ¶
func (s RowScanner) Scan() ([]any, error)
type RowScannerFn ¶
type RowScannerFn func(*RowScanner)
func WithLookup ¶
func WithLookup(lookup map[string]map[string]string) RowScannerFn
func WithRawFile ¶
func WithRawFile(dir, ext string) RowScannerFn
func WithSingleQuoted ¶
func WithSingleQuoted(singleQuoted bool) RowScannerFn
Click to show internal directories.
Click to hide internal directories.