Contents

CKToolDatabaseModule

The imported package that provides access to CloudKit containers and databases.

Declaration

interface CKToolDatabaseModule

Overview

This is the import of all exported content from the @apple/cktool.database package.

To access members of CKToolDatabaseModule import the @apple/cktool.database package the following way:

import * as CKToolDatabaseModule from "@apple/cktool.database";
// Example usage
const result = CKToolDatabaseModule.toByte(123);

Alternatively, you can import the package symbols directly:

import { toByte } from "@apple/cktool.database";
// Example usage
const result = toByte(123);

Importing package symbols this way supports tree-shaking.

Topics

Instance Methods

See Also

Promises API