我正在尝试select
从 AWS CLI使用AWS SimpleDB 的命令。
所需的调用如下: select --select-expression <value>
与select-expression
被描述如下:--select-expression (string) The expression used to query the domain.
select 应该类似于SQL
select 语句,但是我不断收到有关语法的错误,例如:
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`'
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句