// Get returns single Comment model that matches given query.
// If the model is not found the function returns error of query.ErrQueryNoResult.
Get returns single Comment model that matches given query.
If the model is not found the function returns error of query.ErrQueryNoResult.
// Get returns single Comment model that matches given query . // If the model is not found the function returns error of query . ErrQueryNoResult .
func (c *commentsQueryBuilder) Get() (*Comment, error) {
	if c.err != nil {
		return nil, c.err
	}
	model, err := c.builder.Get()
	if err != nil {
		return nil, err
	}
	return model.(*Comment), nil
}
func ( c * commentsQueryBuilder ) Get ( ) ( * Comment , error ) { if c . err != nil { return nil , c . err } model , err := c . builder . Get ( ) if err != nil { return nil , err } return model . ( * Comment ) , nil }
Get returns single Comment model that matches given query.
Get returns single Comment model that matches given query .