// Iter return a cursor to iterate through the results
Iter return a cursor to iterate through the results
// Iter return a cursor to iterate through the results
func (find *Find) Iter() *Cursor {
	findOptions := options.Find()
	if find.skip != 0 {
		findOptions.SetSkip(find.skip)
	}
	if find.limit != 0 {
		findOptions.SetLimit(find.limit)
	}
	if find.sort != nil {
		findOptions.SetSort(find.sort)
	}
	if find.projection != nil {
		findOptions.SetProjection(find.projection)
	}
	return newCursor(newFindCursor(find.collection, find.query, findOptions))
}
func ( find * Find ) Iter ( ) * Cursor { findOptions := options . Find ( ) if find . skip != 0 { findOptions . SetSkip ( find . skip ) } if find . limit != 0 { findOptions . SetLimit ( find . limit ) } if find . sort != nil { findOptions . SetSort ( find . sort ) } if find . projection != nil { findOptions . SetProjection ( find . projection ) } return newCursor ( newFindCursor ( find . collection , find . query , findOptions ) ) }
Iter return a cursor to iterate through the results
Iter return a cursor to iterate through the results