Versions in this module Expand all Collapse all v0 v0.0.1 Feb 23, 2026 Changes in this version + func DecodeRow[T any](row map[string]any) (T, error) + func DecodeRows[T any](rows []map[string]any) ([]T, error) + type DB interface + Exec func(ctx context.Context, sql string, params ...any) error + Ping func(ctx context.Context) error + Query func(ctx context.Context, sql string, params ...any) ([]map[string]any, error) + type DaprDB struct + func NewDaprDB(client dapr.Client, bindingName string) *DaprDB + func (d *DaprDB) Exec(ctx context.Context, sql string, params ...any) error + func (d *DaprDB) Ping(ctx context.Context) error + func (d *DaprDB) Query(ctx context.Context, sql string, params ...any) ([]map[string]any, error)