// Limit sets the maximum number of objects returned by the Find process,
// Returns error if the given scope has already different type of pagination.
Limit sets the maximum number of objects returned by the Find process,
Returns error if the given scope has already different type of pagination.
// Limit sets the maximum number of objects returned by the Find process // Returns error if the given scope has already different type of pagination .
func (p *postsQueryBuilder) Limit(limit int64) *postsQueryBuilder {
	if p.err != nil {
		return p
	}
	p.builder.Limit(limit)
	return p
}
func ( p * postsQueryBuilder ) Limit ( limit int64 ) * postsQueryBuilder { if p . err != nil { return p } p . builder . Limit ( limit ) return p }
Limit sets the maximum number of objects returned by the Find process,
Returns error if the given scope has already different type of pagination.
Limit sets the maximum number of objects returned by the Find process Returns error if the given scope has already different type of pagination .