code: func DeleteDeviceQueueItem(db sqlx.Execer, id int64) error {
  	res, err := db.Exec("delete from device_queue where id = $1", id)
  	if err != nil {
  		return handlePSQLError(err, "delete error")
  	}
  	ra, err := res.RowsAffected()
  	if err != nil {
  		return errors.Wrap(err, "get rows affected error")
  	}
  	if ra == 0 {
  		return ErrDoesNotExist
  	}
  
  	log.WithFields(log.Fields{
  		"id": id,
  	}).Info("device-queue deleted")
  
  	return nil
  }
docs: // DeleteDeviceQueueItem deletes the device-queue item matching the given id.