TWSMapQueryOptions Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWSMapQueryOptions.h |
Overview
Options passed while querying Map objects within Sync specifying query parameters and result set position and sorting.
startPosition
The starting position for the query.
@property (readonly, nonnull) NSString *startPositionDiscussion
The starting position for the query.
Declared In
TWSMapQueryOptions.h
queryOrder
The ordering of the query.
@property (readonly) TWSQueryOrder queryOrderDiscussion
The ordering of the query.
Declared In
TWSMapQueryOptions.h
pageSize
The maximum size of the page returned by the query.
@property (readonly) NSUInteger pageSizeDiscussion
The maximum size of the page returned by the query.
Declared In
TWSMapQueryOptions.h
– withStartPosition:
Specifies the initial position of the query. Results will be inclusive of the item as this position, if specified and if it exists.
- (nonnull instancetype)withStartPosition:(nonnull NSString *)startPositionParameters
startPosition |
The starting map key position for the query. |
|---|
Return Value
This object for optional method chaining.
Discussion
Specifies the initial position of the query. Results will be inclusive of the item as this position, if specified and if it exists.
Declared In
TWSMapQueryOptions.h
– withQueryOrder:
Specifies the ordering (i.e. direction) of the query. If no starting position is provided, ascending will execute the query from beginning and descending will execute the query from the end.
- (nonnull instancetype)withQueryOrder:(TWSQueryOrder)queryOrderParameters
queryOrder |
The ordering of the query. |
|---|
Return Value
This object for optional method chaining.
Discussion
Specifies the ordering (i.e. direction) of the query. If no starting position is provided, ascending will execute the query from beginning and descending will execute the query from the end.
Declared In
TWSMapQueryOptions.h
– withPageSize:
Specifies the maximum size of the page returned by the query. The page may contain less items when approaching the end of collection.
- (nonnull instancetype)withPageSize:(NSUInteger)pageSizeParameters
pageSize |
The maximum size of the page returned by the query. |
|---|
Return Value
This object for optional method chaining.
Discussion
Specifies the maximum size of the page returned by the query. The page may contain less items when approaching the end of collection.
Declared In
TWSMapQueryOptions.h