code: func NewSQLStorageAuthority(
  	dbMap *gorp.DbMap,
  	clk clock.Clock,
  	logger blog.Logger,
  	scope metrics.Scope,
  	parallelismPerRPC int,
  ) (*SQLStorageAuthority, error) {
  	SetSQLDebug(dbMap, logger)
  
  	ssa := &SQLStorageAuthority{
  		dbMap:             dbMap,
  		clk:               clk,
  		log:               logger,
  		parallelismPerRPC: parallelismPerRPC,
  	}
  
  	ssa.countCertificatesByName = ssa.countCertificatesByNameImpl
  	ssa.countCertificatesByExactName = ssa.countCertificatesByExactNameImpl
  	if features.Enabled(features.FasterRateLimit) {
  		ssa.countCertificatesByName = ssa.countCertificatesFaster
  		ssa.countCertificatesByExactName = ssa.countCertificatesFaster
  	}
  	ssa.getChallenges = ssa.getChallengesImpl
  
  	return ssa, nil
  }
docs: // NewSQLStorageAuthority provides persistence using a SQL backend for
  // Boulder. It will modify the given gorp.DbMap by adding relevant tables.