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
Parameter | Type | Description |
---|---|---|
id | string | 数据的唯一标识。 |
Returns:
Promise<T>
数据,它是一个Promise。