func (q countyQuery) All(ctx context.Context, exec boil.ContextExecutor) (CountySlice, error) {
	var o []*County

	err := q.Bind(ctx, exec, &o)
	if err != nil {
		return nil, errors.Wrap(err, "models: failed to assign all query results to County slice")
	}

	if len(countyAfterSelectHooks) != 0 {
		for _, obj := range o {
			if err := obj.doAfterSelectHooks(ctx, exec); err != nil {
				return o, err
			}
		}
	}

	return o, nil
}
// All returns all County records from the query.
All returns all County records from the query.
// All returns all County records from the query .
func (q countyQuery) All(ctx context.Context, exec boil.ContextExecutor) (CountySlice, error) {
	var o []*County
	err := q.Bind(ctx, exec, &o)
	if err != nil {
		return nil, errors.Wrap(err, "models: failed to assign all query results to County slice")
	}
	if len(countyAfterSelectHooks) != 0 {
		for _, obj := range o {
			if err := obj.doAfterSelectHooks(ctx, exec); err != nil {
				return o, err
			}
		}
	}
	return o, nil
}
func ( q countyQuery ) All ( ctx context . Context , exec boil . ContextExecutor ) ( CountySlice , error ) { var o [ ] * County err := q . Bind ( ctx , exec , & o ) if err != nil { return nil , errors . Wrap ( err , " " ) } if len ( countyAfterSelectHooks ) != 0 { for _ , obj := range o { if err := obj . doAfterSelectHooks ( ctx , exec ) ; err != nil { return o , err } } } return o , nil }
All returns all County records from the query.
All returns all County records from the query .