code: func (query Query) One(record interface{}) error {
  	query.LimitResult = 1
  	count, err := query.repo.adapter.All(query, record, query.repo.logger...)
  
  	if err != nil {
  		return transformError(err)
  	} else if count == 0 {
  		return errors.New("no result found", "", errors.NotFound)
  	} else {
  		return nil
  	}
  }
docs: // One retrieves one result that match the query.
  // If no result found, it'll return not found error.