Browse Source

Update db-active-record.md (#19250)

Complete the php command.
master
jef348 3 years ago committed by GitHub
parent
commit
9bf7c96f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/guide/db-active-record.md

2
docs/guide/db-active-record.md

@ -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: You can also use conditions for JSON columns:
```php ```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) 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)

Loading…
Cancel
Save