

# DynamoDB 用の PartiQL で BEGINS\$1WITH 関数を使用する
<a name="ql-functions.beginswith"></a>

指定した属性が特定の部分文字列から始まる場合、`TRUE` を返します。

## 構文
<a name="ql-functions.beginswith.syntax"></a>

```
begins_with(path, value )
```

## 引数
<a name="ql-functions.beginswith.arguments"></a>

*パス*  
(必須) 使用する属性名またはドキュメントのパス。

*value*  
(必須) 検索対象の文字列。

## 戻り型
<a name="ql-functions.beginswith.return-type"></a>

`bool`

## 例
<a name="ql-functions.beginswith.examples"></a>

```
SELECT * FROM "Orders" WHERE "OrderID"=1 AND begins_with("Address", '7834 24th')
```