有没有办法gitbook从文档中生成单页HTML?我在"问题"中看到了关于旧选项的对话的一些内容,但是在当前版本中没有看到任何关于它的文档.
这个选项被删除了吗?有什么办法让它回来?
DynamoDB.DocumentClientJavaScript 类型之间的自动编组和解组值是 DynamoDB 更具描述性的AttributeMap类型。但是,在处理具有StringSet属性的 Item 时,它似乎不会自动进行转换。
使用 向StringSet表添加属性时DocumentClient,我使用该createSet(...)方法将数组转换为集合。取回值时, 的倒数是createSet(...)什么?.values直接访问 Set 的最佳做法是什么?如果是这样,是否记录在某处?
这是添加具有StringSet属性的 Item 的示例代码,然后检索该项目:
const docClient = new DocumentClient();
const TableName = "StringSets-Example";
const PK = "Names";
const Values = ["Peter", "Paul", "Mary"];
const putParams = {
TableName,
Item: {
PK,
names: docClient.createSet(Values)
}
}
await docClient.put(putParams).promise();
// ... some time later, I can retrieve the value with ...
const getParams = { …Run Code Online (Sandbox Code Playgroud)