Posts for: #Dynamodb

PynamoDB Field Aliases

To give an alias to DynamoDB field with PynamoDB, use the attrname parameter for the appropriate attribute constructor: python class Thread(Model): class Meta: tablename =…

[Read more]

PynamoDB Arguments

In PynamoDB, when running a DynamoDB query, the first two positional arguments are the hash key (primary key) and filters for the range key (sort key). To do a filter…

[Read more]