Documentation ¶
Index ¶
- func Columns(ctx context.Context, session *sink.Session, db *sql.DB, table string, ...) ([]sink.Column, error)
- func Dialect(ctx context.Context, db *sql.DB, opts ...option.Option) (*info.Dialect, error)
- func LoadSession(dialect *info.Dialect) io.LoadExecutor
- func MergeExecutor(dialect *info.Dialect, config info.MergeConfig) (io.MergeExecutor, error)
- func Session(ctx context.Context, db *sql.DB, options ...option.Option) (*sink.Session, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Columns ¶
func Columns(ctx context.Context, session *sink.Session, db *sql.DB, table string, options ...option.Option) ([]sink.Column, error)
Columns returns table columns
func LoadSession ¶
func LoadSession(dialect *info.Dialect) io.LoadExecutor
LoadSession Returns new session for specified Dialect
func MergeExecutor ¶ added in v0.14.0
func MergeExecutor(dialect *info.Dialect, config info.MergeConfig) (io.MergeExecutor, error)
MergeExecutor returns new merge executor for specified dialect
Types ¶
Click to show internal directories.
Click to hide internal directories.