// All executes the query and returns a list of FactTypes.
All executes the query and returns a list of FactTypes.
// All executes the query and returns a list of FactTypes .
func (ftq *FactTypeQuery) All(ctx context.Context) ([]*FactType, error) {
	if err := ftq.prepareQuery(ctx); err != nil {
		return nil, err
	}
	return ftq.sqlAll(ctx)
}
func ( ftq * FactTypeQuery ) All ( ctx context . Context ) ( [ ] * FactType , error ) { if err := ftq . prepareQuery ( ctx ) ; err != nil { return nil , err } return ftq . sqlAll ( ctx ) }
All executes the query and returns a list of FactTypes.
All executes the query and returns a list of FactTypes .