Documentation ¶
Index ¶
- Variables
- type CQRS
- type ClientOption
- type Config
- type DB
- func (db DB) Close(ctx context.Context) error
- func (db DB) MultiNamedExecContext(ctx context.Context, query Query, args []map[string]any) (sql.Result, error)
- func (db DB) NamedExecContext(ctx context.Context, query Query, args map[string]any) (sql.Result, error)
- func (db DB) NamedQueryContext(ctx context.Context, query Query, args map[string]any) (*sqlx.Rows, error)
- func (db DB) Ping(ctx context.Context) error
- type Query
Constants ¶
This section is empty.
Variables ¶
View Source
var NewCQRS = c.NewWithValidate[cqrs, ClientOption]
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
func WithRO ¶
func WithRO(db DB) ClientOption
func WithRW ¶
func WithRW(db DB) ClientOption
type Config ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (DB) MultiNamedExecContext ¶ added in v0.8.8
func (DB) NamedExecContext ¶
func (DB) NamedQueryContext ¶
Click to show internal directories.
Click to hide internal directories.