Platforms to show: All Mac Windows Linux Cross-Platform

Back to CKQueryOperationMBS class.

CKQueryOperationMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The constructor.

See also:

CKQueryOperationMBS.Constructor(query as CKQueryMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes and returns an operation object configured to search for records in the specified zone.

query: The query to use during the search. This parameter must not be nil.

Returns an initialized operation object.

You can use the returned CKQueryOperationMBS object only once to perform a search, but the object you specify in the query parameter can be reused as needed. When executed, this query object performs a new search and returns the first batch of results. If there are more results available, you must create a separate query object using the provided cursor object.

See also:

CKQueryOperationMBS.Constructor(queryCursor as CKQueryCursorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Initializes and returns an operation object that returns more results from a previous search.

cursor: The cursor object identifying the previous search. This value is passed to the completion block of the previous search.

Returns an initialized operation object ready to continue the search.

Use this method to initialize a query operation that retrieves the next batch of results from a previous search. When executing searches based on a cursor, do not cache cursor objects for a long time before using them. A cursor is not a snapshot of the previous search results; it stores a relative offset into the results list. An operation object created using a cursor performs a new search, sorts the new set of results, and uses the previous offset value to determine where the next batch of results starts.

See also:

CKQueryOperationMBS.desiredKeys as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
The fields to retrieve for the requested records.

Use this property to limit the amount of data retrieved for each record during the search operation. The value is an array of strings, each of which contains the name of a field from the target records. When you retrieve a given record, only fields whose names match one of the specified keys are included in the returned record. If you specify nil, the operation retrieves all keys for the record. The default value of this property is nil.

If you intend to specify a value, you must do so before executing the operation or submitting the operation object to a queue.

CKQueryOperationMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 21.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Destructor

CKQueryOperationMBS.setDesiredKeys(desiredKeys() as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CloudKit MBS Mac64bit Plugin 16.5 ✅ Yes ❌ No ❌ No ✅ Yes All
Sets the fields to retrieve for the requested records.

Use this property to limit the amount of data retrieved for each record during the search operation. The value is an array of strings, each of which contains the name of a field from the target records. When you retrieve a given record, only fields whose names match one of the specified keys are included in the returned record. If you specify nil, the operation retrieves all keys for the record. The default value of this property is nil.

If you intend to specify a value, you must do so before executing the operation or submitting the operation object to a queue.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...