Documentation
¶
Overview ¶
Package sqlexec provides the SQL execution implementation for sqlcredo. It wraps sqlx database operations with debugging support, implementing the domain.SQLExecutor interface for executing queries and statements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLExecutor ¶
func NewDelegatingExecutor ¶ added in v0.9.0
func NewDelegatingExecutor(executor domain.SQLExecutor, debugFunc domain.DebugFunc) *SQLExecutor
NewDelegatingExecutor creates a new SQLExecutor that delegates to the provided domain.SQLExecutor. This is useful when you want to wrap a transaction or other executor in the SQLExecutor type.
func NewSQLExecutor ¶
func NewSQLExecutor(db SQLXExecutor) *SQLExecutor
func (*SQLExecutor) SelectMany ¶
type SQLXExecutor ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.