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.Session
- 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 ¶
LoadSession Returns new session for specified Dialect
Types ¶
Click to show internal directories.
Click to hide internal directories.