Documentation
¶
Index ¶
- func NewQuerier[T any](conn *OracleExecutor) querier.Querier[T]
- type OracleConf
- type OracleExecutor
- func (e *OracleExecutor) Close() error
- func (e *OracleExecutor) Exec(ctx context.Context, query string, args ...any) error
- func (e *OracleExecutor) GetDb() *sqlx.DB
- func (e *OracleExecutor) QueryRows(ctx context.Context, sql string, args ...interface{}) (*sqlx.Rows, error)
- func (e *OracleExecutor) 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 *OracleExecutor) querier.Querier[T]
Types ¶
type OracleConf ¶
type OracleExecutor ¶
type OracleExecutor struct {
// contains filtered or unexported fields
}
func NewOracleExecutor ¶
func NewOracleExecutor(ctx context.Context, conf *OracleConf) (*OracleExecutor, error)
func (*OracleExecutor) Close ¶
func (e *OracleExecutor) Close() error
func (*OracleExecutor) GetDb ¶
func (e *OracleExecutor) GetDb() *sqlx.DB
Click to show internal directories.
Click to hide internal directories.