技能 编程开发 API键值存储抽象层

API键值存储抽象层

v20260424
webiny-api-key-value-store-catalog
本模块提供键值存储(Key-Value Store)的抽象层,用于管理Web API中的持久化或临时数据。它支持全局范围(非租户隔离)和租户范围两种存储模式。开发者可利用这些抽象来安全、结构化地处理配置、缓存或会话数据,提高应用的数据管理能力。
获取技能
226 次下载
概览

api/key-value-store

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns

Abstractions


Name: GlobalKeyValueStore Import: import { GlobalKeyValueStore } from "webiny/api/key-value-store" Source: @webiny/api-core/features/keyValueStore/index.ts Description: Global (non-tenant-scoped) key-value store.


Name: KeyValueStore Import: import { KeyValueStore } from "webiny/api/key-value-store" Source: @webiny/api-core/features/keyValueStore/index.ts Description: Tenant-scoped key-value store.


信息
Category 编程开发
Name webiny-api-key-value-store-catalog
版本 v20260424
大小 906B
更新时间 2026-04-28
语言