Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CKDatabaseMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CloudKit MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: A conduit for accessing and for performing operations on the public and private data of an app container.
Notes:
An app container has a public database whose data is accessible to all users and a private database whose data is accessible only to the current user. A database object takes requests for data and applies them to the appropriate part of the container.

You do not create database objects yourself, nor should you subclass CKDatabaseMBS. Your app’s CKContainerMBS objects provide the CKDatabaseMBS objects you use to access the associated data. Use database objects as-is to perform operations on data.

The public database is always available, regardless of whether the device has an an active iCloud account. When no iCloud account is available, your app may fetch records and perform queries on the public database, but it may not save changes. (Saving records to the public database requires an active iCloud account to identify the owner of those records.) Access to the private database always requires an active iCloud account on the device.

see
https://developer.apple.com/reference/cloudkit/ckdatabase

Feedback, Comments & Corrections

Database Scopes

Constant Value Description
ScopePrivate 2 The private database.
ScopePublic 1 The public database.
ScopeShared 3 The shared database.

This class has no sub classes.

Some properties using for this class:


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


CKContainerMBS   -   CKDatabaseNotificationMBS




Links
MBS Xojo Plugins