Is it possible to save datetime to DynamoDB?

前端 未结 8 1335
清酒与你
清酒与你 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

    Okay, I see that DynamoDB does not support any date types. So the only solution is to use unix-like time as integer, or save date as string.

    enter image description here

提交回复
热议问题