Note for putItem, N is expecting a string so here’s an example:
await dynamoDB .putItem({ TableName: TABLE_NAME, Item: { name: { S: name }, expires: { N: TTL.toString() } } })
TTL
A collection of my tech notes
Note for putItem, N is expecting a string so here’s an example:
await dynamoDB .putItem({ TableName: TABLE_NAME, Item: { name: { S: name }, expires: { N: TTL.toString() } } })
TTL