Optional
props: NonNullAttributeOptionsAn optional object of NonNullAttributeOptions, providing additional configuration for the sort key attribute, such as custom metadata.
A class field decorator function that targets and initializes the class's prototype to register the sort key with the ORM's metadata system.
Usage example:
class User extends TableClass {
@SortKeyAttribute()
public sk: SortKey;
}
In this example, @SortKeyAttribute
decorates the sk
field of User
, marking it as the entity's sort key.
Generated using TypeDoc
A decorator for designating the field for the sort key on the dynamo table.