作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 select
来自 AWS CLI 的 AWS SimpleDB 命令。
所需调用如下:
select
--select-expression <value>
与 select-expression
描述如下:--select-expression (string) The expression used to query the domain.
The select is supposed to be similar to the SQL
select statement ,但是我不断收到有关语法的错误,例如:
aws sdb select --select-expression "select * from my-domain"
An error occurred (InvalidQueryExpression) when calling the Select operation: The specified query expression syntax is not valid.
我也找不到任何关于正确使用语法的文档或示例。
最佳答案
我找到了解决方案 - 结果我需要在查询中使用单引号并在表名周围使用特殊字符:
aws sdb select --select-expression 'select * from `my-domain`'
关于amazon-web-services - AWS SimpleDB CLI : How to use the 'select' command?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45509283/
我是一名优秀的程序员,十分优秀!