Is it possible to save datetime to DynamoDB?

前端 未结 8 1343
清酒与你
清酒与你 2021-01-17 09:46

I have the next code:

users_table = Table(users_table_name, connection=Core.aws_dynamodb_connection)
users_table.put_item(data={
  \"login\": login,
  \"pass         


        
8条回答
  •  悲&欢浪女
    2021-01-17 09:57

    Reading the documentation lately, I found the right link to the documentation here. The recommended way to store date and time data in DynamoDB is using ISO 8601 strings. so the data type is just string.

提交回复
热议问题