Documentation
¶
Index ¶
- func NewQuerier[T any](conn *RedshiftExecutor) querier.Querier[T]
- type Executor
- type RedshiftConf
- type RedshiftExecutor
- func (e *RedshiftExecutor) Close() error
- func (e *RedshiftExecutor) Exec(ctx context.Context, query string, args ...any) error
- func (e *RedshiftExecutor) GetDb() *sqlx.DB
- func (e *RedshiftExecutor) QueryRows(ctx context.Context, sql string, args ...interface{}) (*sqlx.Rows, error)
- func (e *RedshiftExecutor) Select(ctx context.Context, dest any, query string, args ...any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier[T any](conn *RedshiftExecutor) querier.Querier[T]
Types ¶
type RedshiftConf ¶
type RedshiftExecutor ¶
type RedshiftExecutor struct {
// contains filtered or unexported fields
}
func NewRedshiftExecutor ¶
func NewRedshiftExecutor(ctx context.Context, conf *RedshiftConf) (*RedshiftExecutor, error)
func (*RedshiftExecutor) Close ¶
func (e *RedshiftExecutor) Close() error
func (*RedshiftExecutor) GetDb ¶
func (e *RedshiftExecutor) GetDb() *sqlx.DB
Click to show internal directories.
Click to hide internal directories.