class

CryBase::CouchBase::Services::Query::Cursor

Inherits Reference < Object

Single-use streaming cursor returned by Query::Client#query_cursor and Query::Cluster#query_cursor.

The HTTP request starts when each or each_as is called. Rows are yielded as they are parsed from the Query response body, and the final Result is stored in result after the cursor is fully consumed.

Instance methods

close
Source
closed?
Source
each
Source
each_as(type : T.class, &block : T -> ) : Result forall T
Source
result
Source