// Ints returns list of ints from a selector. It is only allowed when selecting one field.
Ints returns list of ints from a selector. It is only allowed when selecting one field.
// Ints returns list of ints from a selector . It is only allowed when selecting one field .
func (fts *FactTypeSelect) Ints(ctx context.Context) ([]int, error) {
	if len(fts.fields) > 1 {
		return nil, errors.New("ent: FactTypeSelect.Ints is not achievable when selecting more than 1 field")
	}
	var v []int
	if err := fts.Scan(ctx, &v); err != nil {
		return nil, err
	}
	return v, nil
}
func ( fts * FactTypeSelect ) Ints ( ctx context . Context ) ( [ ] int , error ) { if len ( fts . fields ) > 1 { return nil , errors . New ( " " ) } var v [ ] int if err := fts . Scan ( ctx , & v ) ; err != nil { return nil , err } return v , nil }
Ints returns list of ints from a selector.
Ints returns list of ints from a selector .