Skip to content
On this page

Home > @taiyuuki/utils > DB > get_item

DB.get_item() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

从对象存储中读取数据。

Signature:

typescript
get_item(id: string): Promise<T>;
get_item(id: string): Promise<T>;

Parameters

ParameterTypeDescription
idstring数据的唯一标识。

Returns:

Promise<T>

数据,它是一个Promise。

Released under the MIT License.