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