Class Iterator (1.9.0)

  Iterator 
 ( 
 query 
 , 
 client 
 , 
 limit 
 = 
 None 
 , 
 offset 
 = 
 None 
 , 
 start_cursor 
 = 
 None 
 , 
 end_cursor 
 = 
 None 
 , 
 eventual 
 = 
 False 
 , 
 ) 
 

Represent the state of a given execution of a Query.

Parameters

Name
Description
query
Query

Query object holding permanent configuration (i.e. things that don't change on with each page in a results set).

client
Client

The client used to make a request.

limit
int

(Optional) Limit the number of results returned.

offset
int

(Optional) Offset used to begin a query.

start_cursor
bytes

(Optional) Cursor to begin paging through query results.

end_cursor
bytes

(Optional) Cursor to end paging through query results.

eventual
bool

(Optional) Defaults to strongly consistent (False). Setting True will use eventual consistency, but cannot be used inside a transaction or will raise ValueError.

Design a Mobile Site
View Site in Mobile | Classic
Share by: