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