// Find returns all Comment models that matches to given query.
Find returns all Comment models that matches to given query.
// Find returns all Comment models that matches to given query .
func (c *commentsQueryBuilder) Find() ([]*Comment, error) {
	if c.err != nil {
		return nil, c.err
	}
	queryModels, err := c.builder.Find()
	if err != nil {
		return nil, err
	}
	models := make([]*Comment, len(queryModels))
	for i := range queryModels {
		models[i] = queryModels[i].(*Comment)
	}
	return models, nil
}
func ( c * commentsQueryBuilder ) Find ( ) ( [ ] * Comment , error ) { if c . err != nil { return nil , c . err } queryModels , err := c . builder . Find ( ) if err != nil { return nil , err } models := make ( [ ] * Comment , len ( queryModels ) ) for i := range queryModels { models [ i ] = queryModels [ i ] . ( * Comment ) } return models , nil }
Find returns all Comment models that matches to given query.
Find returns all Comment models that matches to given query .