JSONStoreQueryOptions Class Reference

Inherits from NSObject
Declared in JSONStoreQueryOptions.h


Overview

Contains JSONStore query options.


Tasks


Properties


_count

Private. Flag to turn a find into a count.

@property (nonatomic) BOOL _count


Availability

IBM Worklight V6.2.0 @private


Declared In

JSONStoreQueryOptions.h


_filter

Private. NSArray with filter criteria (e.g. [@“name”, @“age”]).

@property (nonatomic, strong) NSMutableArray *_filter


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


_sort

Private. NSArray with sort criteria (e.g. [{name: @“ASC”}]).

@property (nonatomic, strong) NSMutableArray *_sort


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


limit

Determines the maximum number of results to return.

@property (nonatomic, strong) NSNumber *limit


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


offset

Determines the maximum number of documents to skip from the result.

@property (nonatomic, strong) NSNumber *offset


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


Instance Methods


description

String representation of the object.

- (NSString *)description


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


filterSearchField:

Filter by search field.

- (void)filterSearchField:(NSString *)searchField


Parameters

searchField

Search field


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


sortBySearchFieldAscending:

Sorts by search field ascending.

- (void)sortBySearchFieldAscending:(NSString *)searchField


Parameters

searchField

Search field


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


sortBySearchFieldDescending:

Sorts by search field descending.

- (void)sortBySearchFieldDescending:(NSString *)searchField


Parameters

searchField

Search field


Availability

IBM Worklight V6.2.0


Declared In

JSONStoreQueryOptions.h


© Copyright IBM Corp. 2017