搭配 DynamoDB 專用 PartiQL 使用 BEGINS_WITH 函數
如果指定的屬性以特定子字串開頭,則傳回 TRUE。
語法
begins_with(path,value)
引數
路徑-
(必要) 要使用的屬性名稱或文件路徑。
值-
(必要) 要搜尋的字串。
傳回類型
bool
範例
SELECT * FROM "Orders" WHERE "OrderID"=1 AND begins_with("Address", '7834 24th')