func (b *blogsQueryBuilder) RemovePosts() (int64, error) {
	if b.err != nil {
		return 0, b.err
	}
	relation, err := NRN_Blogs.Model.RelationByIndex(3)
	if err != nil {
		return 0, errors.Wrapf(mapping.ErrInternal, "getting 'Posts' relation by index for model 'Blog' failed: %v", err)
	}
	return b.builder.RemoveRelations(relation)
}
// RemovePosts removes related model Posts and matches to given Blog.
RemovePosts removes related model Posts and matches to given Blog.
// RemovePosts removes related model Posts and matches to given Blog .
func (b *blogsQueryBuilder) RemovePosts() (int64, error) {
	if b.err != nil {
		return 0, b.err
	}
	relation, err := NRN_Blogs.Model.RelationByIndex(3)
	if err != nil {
		return 0, errors.Wrapf(mapping.ErrInternal, "getting 'Posts' relation by index for model 'Blog' failed: %v", err)
	}
	return b.builder.RemoveRelations(relation)
}
func ( b * blogsQueryBuilder ) RemovePosts ( ) ( int64 , error ) { if b . err != nil { return 0 , b . err } relation , err := NRN_Blogs . Model . RelationByIndex ( 3 ) if err != nil { return 0 , errors . Wrapf ( mapping . ErrInternal , " " , err ) } return b . builder . RemoveRelations ( relation ) }
RemovePosts removes related model Posts and matches to given Blog.
RemovePosts removes related model Posts and matches to given Blog .