// IDs executes the query and returns a list of FactType IDs.
IDs executes the query and returns a list of FactType IDs.
// IDs executes the query and returns a list of FactType IDs .
func (ftq *FactTypeQuery) IDs(ctx context.Context) ([]string, error) {
	var ids []string
	if err := ftq.Select(facttype.FieldID).Scan(ctx, &ids); err != nil {
		return nil, err
	}
	return ids, nil
}
func ( ftq * FactTypeQuery ) IDs ( ctx context . Context ) ( [ ] string , error ) { var ids [ ] string if err := ftq . Select ( facttype . FieldID ) . Scan ( ctx , & ids ) ; err != nil { return nil , err } return ids , nil }
IDs executes the query and returns a list of FactType IDs.
IDs executes the query and returns a list of FactType IDs .