package persistence import ( "context" "database/sql" ) type IDbContext interface { ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error) QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error) QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row Prepare(string) (*sql.Stmt, error) }