---
title: CKToolDatabaseModule
framework: CKTool JS
role: symbol
role_heading: Class
platforms: [cktool js 1.2.15+]
path: cktooljs/cktooldatabasemodule
---

# CKToolDatabaseModule

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

## Declaration

```data
interface CKToolDatabaseModule
```

## Overview

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

- [createUuid](cktooljs/cktooldatabasemodule/createuuid.md)
- [toBase64String](cktooljs/cktooldatabasemodule/tobase64string.md)
- [toByte](cktooljs/cktooldatabasemodule/tobyte.md)
- [toByteArray](cktooljs/cktooldatabasemodule/tobytearray.md)
- [toDouble](cktooljs/cktooldatabasemodule/todouble.md)
- [toFloat](cktooljs/cktooldatabasemodule/tofloat.md)
- [toInt32](cktooljs/cktooldatabasemodule/toint32.md)
- [toInt64](cktooljs/cktooldatabasemodule/toint64.md)
- [toNumber](cktooljs/cktooldatabasemodule/tonumber.md)
- [toUuid](cktooljs/cktooldatabasemodule/touuid.md)

## See Also

### Promises API

- [PromisesApi](cktooljs/promisesapi.md)
- [CancellablePromise](cktooljs/cancellablepromise.md)
