Typed sort key condition for querying within an entity's partition.
In dyna-record's single-table design, sort key values always start with an entity
class name — either the entity itself or one of its declared relationships
(@HasMany, @HasOne, @BelongsTo, @HasAndBelongsToMany):
Self/HasOne records: SK = "EntityName" (exact entity name)
HasMany records: SK = "EntityName#id" (entity name + delimiter + id)
This type restricts skCondition and the sk key condition to only accept the
entity's own name or its related entity names (or prefixes thereof). Unrelated
entities and entities from other tables are rejected at compile time.
Typed sort key condition for querying within an entity's partition.
In dyna-record's single-table design, sort key values always start with an entity class name — either the entity itself or one of its declared relationships (
@HasMany,@HasOne,@BelongsTo,@HasAndBelongsToMany):SK = "EntityName"(exact entity name)SK = "EntityName#id"(entity name + delimiter + id)This type restricts
skConditionand theskkey condition to only accept the entity's own name or its related entity names (or prefixes thereof). Unrelated entities and entities from other tables are rejected at compile time.