将 BEGINS_WITH 函数与 PartiQL for DynamoDB 结合使用
如果指定的属性以特定子字符串开头,则返回 TRUE。
语法
begins_with(path,value)
Arguments
path-
(必需)要使用的属性名称或文档路径。
值-
(必需)要搜索的字符串。
返回类型
bool
示例
SELECT * FROM "Orders" WHERE "OrderID"=1 AND begins_with("Address", '7834 24th')