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