From 05b8e2295a99b150df446f9d8ce2824170549b72 Mon Sep 17 00:00:00 2001 From: shinybrad Date: Mon, 3 Jun 2024 17:34:15 +0000 Subject: [PATCH] cms@33b3fb0 Finish 5.2.0-beta.1 --- docs/.artifacts/cms/5.x/addresses.md | 14 ++++++++++++++ docs/.artifacts/cms/5.x/assets.md | 14 ++++++++++++++ docs/.artifacts/cms/5.x/categories.md | 14 ++++++++++++++ docs/.artifacts/cms/5.x/config-general.md | 2 +- docs/.artifacts/cms/5.x/entries.md | 17 +++++++++++++++++ docs/.artifacts/cms/5.x/globals.md | 14 ++++++++++++++ docs/.artifacts/cms/5.x/tags.md | 14 ++++++++++++++ docs/.artifacts/cms/5.x/users.md | 14 ++++++++++++++ 8 files changed, 102 insertions(+), 1 deletion(-) diff --git a/docs/.artifacts/cms/5.x/addresses.md b/docs/.artifacts/cms/5.x/addresses.md index afb42727a..62f4a9c03 100644 --- a/docs/.artifacts/cms/5.x/addresses.md +++ b/docs/.artifacts/cms/5.x/addresses.md @@ -61,6 +61,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching addresses eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. @@ -1428,5 +1429,18 @@ $addresses = \craft\elements\Address::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + diff --git a/docs/.artifacts/cms/5.x/assets.md b/docs/.artifacts/cms/5.x/assets.md index 79823e8a4..f9b468c2a 100644 --- a/docs/.artifacts/cms/5.x/assets.md +++ b/docs/.artifacts/cms/5.x/assets.md @@ -57,6 +57,7 @@ | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [width](#width) | Narrows the query results based on the assets’ image widths. | [with](#with) | Causes the query to return matching assets eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. | [withTransforms](#withtransforms) | Causes the query to return matching assets eager-loaded with image transform indexes. @@ -1368,6 +1369,19 @@ $assets = \craft\elements\Asset::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + #### `withTransforms` Causes the query to return matching assets eager-loaded with image transform indexes. diff --git a/docs/.artifacts/cms/5.x/categories.md b/docs/.artifacts/cms/5.x/categories.md index c390a20fa..aec8faa50 100644 --- a/docs/.artifacts/cms/5.x/categories.md +++ b/docs/.artifacts/cms/5.x/categories.md @@ -60,6 +60,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching categories eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. @@ -1501,5 +1502,18 @@ $categories = \craft\elements\Category::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + diff --git a/docs/.artifacts/cms/5.x/config-general.md b/docs/.artifacts/cms/5.x/config-general.md index 49f97ca04..7a8e14d0b 100644 --- a/docs/.artifacts/cms/5.x/config-general.md +++ b/docs/.artifacts/cms/5.x/config-general.md @@ -1181,7 +1181,7 @@ Since -The output format to pass to `pg_dump` when backing up the database. +The output format that database backups should use (PostgreSQL only). diff --git a/docs/.artifacts/cms/5.x/entries.md b/docs/.artifacts/cms/5.x/entries.md index eea93aa45..19ac380bc 100644 --- a/docs/.artifacts/cms/5.x/entries.md +++ b/docs/.artifacts/cms/5.x/entries.md @@ -88,6 +88,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching entries eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. @@ -674,7 +675,9 @@ Possible values include: | Value | Fetches drafts… | - | - | `1` | for the entry with an ID of 1. +| `[1, 2]` | for the entries with an ID of 1 or 2. | a [Entry](craft5:craft\elements\Entry) object | for the entry represented by the object. +| an array of [Entry](craft5:craft\elements\Entry) objects | for the entries represented by the objects. | `'*'` | for any entry | `false` | that aren’t associated with a published entry @@ -1799,6 +1802,7 @@ Possible values include: | `['foo', 'bar']` | in a section with a handle of `foo` or `bar`. | `['not', 'foo', 'bar']` | not in a section with a handle of `foo` or `bar`. | a [Section](craft5:craft\models\Section) object | in a section represented by the object. +| `'*'` | in any section. @@ -2352,5 +2356,18 @@ $entries = \craft\elements\Entry::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + diff --git a/docs/.artifacts/cms/5.x/globals.md b/docs/.artifacts/cms/5.x/globals.md index 5b6f9d4a4..a29c03049 100644 --- a/docs/.artifacts/cms/5.x/globals.md +++ b/docs/.artifacts/cms/5.x/globals.md @@ -43,6 +43,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching global sets eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. @@ -914,5 +915,18 @@ $globalSets = \craft\elements\GlobalSet::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + diff --git a/docs/.artifacts/cms/5.x/tags.md b/docs/.artifacts/cms/5.x/tags.md index 6f8902dbf..42720d764 100644 --- a/docs/.artifacts/cms/5.x/tags.md +++ b/docs/.artifacts/cms/5.x/tags.md @@ -46,6 +46,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching tags eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. @@ -1030,5 +1031,18 @@ $tags = \craft\elements\Tag::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + diff --git a/docs/.artifacts/cms/5.x/users.md b/docs/.artifacts/cms/5.x/users.md index ce9ef4e3d..e9c3a2c50 100644 --- a/docs/.artifacts/cms/5.x/users.md +++ b/docs/.artifacts/cms/5.x/users.md @@ -54,6 +54,7 @@ | [wasCountEagerLoaded](#wascounteagerloaded) | Returns whether the query result count was already eager loaded by the query's source element. | [wasEagerLoaded](#waseagerloaded) | Returns whether the query results were already eager loaded by the query's source element. | [with](#with) | Causes the query to return matching users eager-loaded with related elements. +| [withCustomFields](#withcustomfields) | Sets whether custom fields should be factored into the query. | [withGroups](#withgroups) | Causes the query to return matching users eager-loaded with their user groups. @@ -1208,6 +1209,19 @@ $users = \craft\elements\User::find() ::: +#### `withCustomFields` + +Sets whether custom fields should be factored into the query. + + + + + + + + + + #### `withGroups` Causes the query to return matching users eager-loaded with their user groups.