code: func (q *Query) All(models interface{}) error {
  	err := q.Connection.timeFunc("All", func() error {
  		m := &Model{Value: models}
  		err := q.Connection.Dialect.SelectMany(q.Connection.Store, m, *q)
  		if err != nil {
  			return err
  		}
  		err = q.paginateModel(models)
  		if err != nil {
  			return err
  		}
  		return m.afterFind(q.Connection)
  	})
  
  	if err != nil {
  		return errors.Wrap(err, "unable to fetch records")
  	}
  
  	if q.eager {
  		err = q.eagerAssociations(models)
  		q.disableEager()
  		return err
  	}
  
  	return nil
  }
docs: // All retrieves all of the records in the database that match the query.
  //
  //	q.Where("name = ?", "mark").All(&[]User{})