Skip to content

Commit

Permalink
Update db-active-record.md (#19250)
Browse files Browse the repository at this point in the history
Complete the php command.
  • Loading branch information
jef348 authored Feb 19, 2022
1 parent 4d90778 commit 9bf7c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/db-active-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ that will be encoded by [QueryBuilder](db-query-builder.md) to an PgSQL string r
You can also use conditions for JSON columns:

```php
$query->andWhere(['=', 'json', new ArrayExpression(['foo' => 'bar'])
$query->andWhere(['=', 'json', new ArrayExpression(['foo' => 'bar'])])
```

To learn more about expressions building system read the [Query Builder – Adding custom Conditions and Expressions](db-query-builder.md#adding-custom-conditions-and-expressions)
Expand Down

0 comments on commit 9bf7c96

Please sign in to comment.