property DynamoEntityMapping.sortKey

The table's sort-key attribute, when the table is keyed by partition AND sort.

When present, a scalar key is no longer a complete key — GetItem naming only the partition key is a ValidationException (M80 plan §1A P3) — and the sort key is the one field the adapter serves orderBy on natively (M80 plan §1A Q4).

Type

string

Usage

import { type DynamoEntityMapping } from "database-plugin/src/index.ts";