code: func FindConfigs(tx ReadTx, by By) ([]*api.Config, error) {
  	checkType := func(by By) error {
  		switch by.(type) {
  		case byName, byNamePrefix, byIDPrefix, byCustom, byCustomPrefix:
  			return nil
  		default:
  			return ErrInvalidFindBy
  		}
  	}
  
  	configList := []*api.Config{}
  	appendResult := func(o api.StoreObject) {
  		configList = append(configList, o.(*api.Config))
  	}
  
  	err := tx.find(tableConfig, by, checkType, appendResult)
  	return configList, err
  }
docs: // FindConfigs selects a set of configs and returns them.