SKYQuery

@interface SKYQuery : NSObject <NSSecureCoding>

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRecordType:(nonnull NSString *)recordType
                                     predicate:(NSPredicate *_Nullable)predicate;

    Swift

    init(recordType: String, predicate: NSPredicate?)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)queryWithRecordType:(nonnull NSString *)recordType
                                      predicate:(NSPredicate *_Nullable)predicate;
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull recordType;

    Swift

    var recordType: String { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSPredicate *_Nullable predicate;

    Swift

    @NSCopying var predicate: NSPredicate? { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic) NSArray *_Nullable sortDescriptors;

    Swift

    var sortDescriptors: [Any]? { get set }
  • Gets or sets the number of records after which records will be returned.

    Default is zero, meaning that the results contain record from the beginning of the result set.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger offset;

    Swift

    var offset: Int { get set }
  • Gets or sets the maximum number of records to be returned from the query.

    Default is zero, meaning that there is no limit.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger limit;

    Swift

    var limit: Int { get set }
  • Gets or sets whether to return the number of all matching records.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL overallCount;

    Swift

    var overallCount: Bool { get set }
  • An NSDictionary of expression to be evaluated on the server side and returned as transient dictionary in SKYRecord.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSDictionary *_Nullable transientIncludes;

    Swift

    var transientIncludes: [AnyHashable : Any]? { get set }