api/db
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills for implementation patterns
Abstractions
Name: DbRegistry
Import: import { DbRegistry } from "webiny/api/db"
Source: @webiny/db/features/DbRegistry/index.ts
Name: DbRegistryFeature
Import: import { DbRegistryFeature } from "webiny/api/db"
Source: @webiny/db/features/DbRegistry/index.ts
Name: DynamoDBClient
Import: import { DynamoDBClient } from "webiny/api/db"
Source: @webiny/db-dynamodb/feature/DynamoDBClient/index.ts
Name: FilterUtil
Import: import { FilterUtil } from "webiny/api/db"
Source: @webiny/db-dynamodb/feature/FilterUtil/index.ts
Name: ValueFilter
Import: import { ValueFilter } from "webiny/api/db"
Source: @webiny/db-dynamodb/feature/ValueFilter/index.ts
Name: ValueFilterRegistry
Import: import { ValueFilterRegistry } from "webiny/api/db"
Source: @webiny/db-dynamodb/feature/ValueFilter/index.ts