# $orderPage->query()

> Creates a string query, starting from the model

- Source: `src/Cms/ModelWithContent.php#L503` <https://github.com/getkirby/kirby/blob/6.0.0-beta.1/src/Cms/ModelWithContent.php#L503>
- Inherited from Kirby, not part of the Merx API. See <https://getkirby.com/docs/reference>.

```php
$orderPage->query(null|string $query = null, null|string $expect = null):
```

## Parameters

| Name | Type | Default |
| --- | --- | --- |
| `$query` | `null\|string` | `null` |
| `$expect` | `null\|string` | `null` |

## Return type

`–`

## Parent class

`Wagnerwagner\Merx\OrderPage` inherited from `Kirby\Cms\ModelWithContent`
