func (s *Surveys) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scans := &Survey{}
		if err := scans.FromRows(rows); err != nil {
			return err
		}
		*s = append(*s, scans)
	}
	return nil
}
// FromRows scans the sql response data into Surveys.
FromRows scans the sql response data into Surveys.
// FromRows scans the sql response data into Surveys .
func (s *Surveys) FromRows(rows *sql.Rows) error {
	for rows.Next() {
		scans := &Survey{}
		if err := scans.FromRows(rows); err != nil {
			return err
		}
		*s = append(*s, scans)
	}
	return nil
}
func ( s * Surveys ) FromRows ( rows * sql . Rows ) error { for rows . Next ( ) { scans := & Survey { } if err := scans . FromRows ( rows ) ; err != nil { return err } * s = append ( * s , scans ) } return nil }
FromRows scans the sql response data into Surveys.
FromRows scans the sql response data into Surveys .