> ## Documentation Index
> Fetch the complete documentation index at: https://dev.marginnote.com.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# DatabaseClass

> Native class object for .

Native class object for [Database](https://dev.marginnote.com.cn/jsb-api/global-entry/variables/Database.md).

## Methods

### sharedInstance()

```typescript
sharedInstance(): Database | null
```

Exported member.

#### Returns

`Database | null`

### transArrayToJSCompatible()

```typescript
transArrayToJSCompatible(_arr: unknown[] | null): unknown[] | null
```

Exported member.

#### Parameters

**\_arr** `unknown[] | null` *required*

#### Returns

`unknown[] | null`

### transDictionaryToJSCompatible()

```typescript
transDictionaryToJSCompatible(_dic: Record<string, unknown> | null): Record<string, unknown> | null
```

Exported member.

#### Parameters

**\_dic** `Record\<string, unknown\> | null` *required*

#### Returns

`Record<string, unknown> | null`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.