

# Usar a função BEGINS\$1WITH com PartiQL para DynamoDB
<a name="ql-functions.beginswith"></a>

Retorna `TRUE` quando o atributo especificado começa com uma substring específica.

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

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

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

*path*  
(Obrigatório) O nome do atributo ou o caminho do documento a ser usado.

*value*  
(Obrigatório) A string a ser pesquisada.

## Tipo de retorno
<a name="ql-functions.beginswith.return-type"></a>

`bool`

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

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