// RemoveBlog removes related model Blog and matches to given Post.
RemoveBlog removes related model Blog and matches to given Post.
// RemoveBlog removes related model Blog and matches to given Post .
func (p *postsQueryBuilder) RemoveBlog() (int64, error) {
	if p.err != nil {
		return 0, p.err
	}
	relation, err := NRN_Posts.Model.RelationByIndex(4)
	if err != nil {
		return 0, errors.Wrapf(mapping.ErrInternal, "getting 'Blog' relation by index for model 'Post' failed: %v", err)
	}
	return p.builder.RemoveRelations(relation)
}
func ( p * postsQueryBuilder ) RemoveBlog ( ) ( int64 , error ) { if p . err != nil { return 0 , p . err } relation , err := NRN_Posts . Model . RelationByIndex ( 4 ) if err != nil { return 0 , errors . Wrapf ( mapping . ErrInternal , " " , err ) } return p . builder . RemoveRelations ( relation ) }
RemoveBlog removes related model Blog and matches to given Post.
RemoveBlog removes related model Blog and matches to given Post .