code: func (mc MongoClient) GetDeviceProfilesByCommandId(id string) ([]contract.DeviceProfile, error) {
  	command, err := mc.getCommandById(id)
  	if err != nil {
  		return []contract.DeviceProfile{}, err
  	}
  
  	dps, err := mc.getDeviceProfiles(bson.M{"commands.$id": command.Id})
  	if err != nil {
  		return []contract.DeviceProfile{}, err
  	}
  	return dps, nil
  }
docs: // Get the device profiles that are currently using the command