diff --git a/docs/.artifacts/cms/4.x/addresses.md b/docs/.artifacts/cms/4.x/addresses.md index 0efe8f682..e28331b0a 100644 --- a/docs/.artifacts/cms/4.x/addresses.md +++ b/docs/.artifacts/cms/4.x/addresses.md @@ -13,7 +13,6 @@ | [afterPopulate](#afterpopulate) | Performs any post-population processing on elements. | [andRelatedTo](#andrelatedto) | Narrows the query results to only addresses that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching addresses as arrays of data, rather than [Address](craft4:craft\elements\Address) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [countryCode](#countrycode) | Narrows the query results based on the country the assets belong to. @@ -26,8 +25,6 @@ | [inReverse](#inreverse) | Causes the query results to be returned in reverse order. | [language](#language) | Determines which site(s) the addresses should be queried in, based on their language. | [limit](#limit) | Determines the number of addresses that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many addresses should be skipped in the results. | [orderBy](#orderby) | Determines the order that the addresses should be returned in. (If empty, defaults to `dateCreated DESC, elements.id`.) | [owner](#owner) | Sets the [ownerId](#ownerid) parameter based on a given owner element. @@ -37,7 +34,6 @@ | [relatedTo](#relatedto) | Narrows the query results to only addresses that are related to certain other elements. | [search](#search) | Narrows the query results to only addresses that match a search query. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the addresses’ IDs in the `elements_sites` table. -| [sum](#sum) | Returns the sum of the specified column values. | [trashed](#trashed) | Narrows the query results to only addresses that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the addresses’ UIDs. | [with](#with) | Causes the query to return matching addresses eager-loaded with related elements. @@ -158,19 +154,6 @@ $addresses = \craft\elements\Address::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -513,32 +496,6 @@ $addresses = \craft\elements\Address::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many addresses should be skipped in the results. @@ -777,19 +734,6 @@ $address = \craft\elements\Address::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `trashed` Narrows the query results to only addresses that have been soft-deleted. diff --git a/docs/.artifacts/cms/4.x/assets.md b/docs/.artifacts/cms/4.x/assets.md index 3c7caf8c5..8b813f2e5 100644 --- a/docs/.artifacts/cms/4.x/assets.md +++ b/docs/.artifacts/cms/4.x/assets.md @@ -12,7 +12,6 @@ | [afterPopulate](#afterpopulate) | Performs any post-population processing on elements. | [andRelatedTo](#andrelatedto) | Narrows the query results to only assets that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching assets as arrays of data, rather than [Asset](craft4:craft\elements\Asset) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [dateCreated](#datecreated) | Narrows the query results based on the assets’ creation dates. @@ -32,8 +31,6 @@ | [kind](#kind) | Narrows the query results based on the assets’ file kinds. | [language](#language) | Determines which site(s) the assets should be queried in, based on their language. | [limit](#limit) | Determines the number of assets that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many assets should be skipped in the results. | [orderBy](#orderby) | Determines the order that the assets should be returned in. (If empty, defaults to `dateCreated DESC, elements.id`.) | [preferSites](#prefersites) | If [unique](#unique) is set, this determines which site should be selected when querying multi-site elements. @@ -45,7 +42,6 @@ | [siteId](#siteid) | Determines which site(s) the assets should be queried in, per the site’s ID. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the assets’ IDs in the `elements_sites` table. | [size](#size) | Narrows the query results based on the assets’ file sizes (in bytes). -| [sum](#sum) | Returns the sum of the specified column values. | [title](#title) | Narrows the query results based on the assets’ titles. | [trashed](#trashed) | Narrows the query results to only assets that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the assets’ UIDs. @@ -141,19 +137,6 @@ $assets = \craft\elements\Asset::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -728,32 +711,6 @@ $assets = \craft\elements\Asset::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many assets should be skipped in the results. @@ -1057,19 +1014,6 @@ $assets = \craft\elements\Asset::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `title` Narrows the query results based on the assets’ titles. diff --git a/docs/.artifacts/cms/4.x/categories.md b/docs/.artifacts/cms/4.x/categories.md index b84d6fe5e..185f4eb66 100644 --- a/docs/.artifacts/cms/4.x/categories.md +++ b/docs/.artifacts/cms/4.x/categories.md @@ -14,7 +14,6 @@ | [ancestorOf](#ancestorof) | Narrows the query results to only categories that are ancestors of another category in its structure. | [andRelatedTo](#andrelatedto) | Narrows the query results to only categories that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching categories as arrays of data, rather than [Category](craft4:craft\elements\Category) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [dateCreated](#datecreated) | Narrows the query results based on the categories’ creation dates. @@ -33,8 +32,6 @@ | [leaves](#leaves) | Narrows the query results based on whether the categories are “leaves” (categories with no descendants). | [level](#level) | Narrows the query results based on the categories’ level within the structure. | [limit](#limit) | Determines the number of categories that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [nextSiblingOf](#nextsiblingof) | Narrows the query results to only the category that comes immediately after another category in its structure. | [offset](#offset) | Determines how many categories should be skipped in the results. | [orderBy](#orderby) | Determines the order that the categories should be returned in. (If empty, defaults to `dateCreated DESC, elements.id`, or the order defined by the category group if the [group](#group) or [groupId](#groupid) params are set to a single group.) @@ -51,7 +48,6 @@ | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the categories’ IDs in the `elements_sites` table. | [slug](#slug) | Narrows the query results based on the categories’ slugs. | [status](#status) | Narrows the query results based on the categories’ statuses. -| [sum](#sum) | Returns the sum of the specified column values. | [title](#title) | Narrows the query results based on the categories’ titles. | [trashed](#trashed) | Narrows the query results to only categories that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the categories’ UIDs. @@ -208,19 +204,6 @@ $categories = \craft\elements\Category::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -751,32 +734,6 @@ $categories = \craft\elements\Category::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `nextSiblingOf` Narrows the query results to only the category that comes immediately after another category in its structure. @@ -1276,19 +1233,6 @@ $categories = \craft\elements\Category::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `title` Narrows the query results based on the categories’ titles. diff --git a/docs/.artifacts/cms/4.x/entries.md b/docs/.artifacts/cms/4.x/entries.md index c95522b3c..95b810fa9 100644 --- a/docs/.artifacts/cms/4.x/entries.md +++ b/docs/.artifacts/cms/4.x/entries.md @@ -18,7 +18,6 @@ | [authorGroup](#authorgroup) | Narrows the query results based on the user group the entries’ authors belong to. | [authorGroupId](#authorgroupid) | Narrows the query results based on the user group the entries’ authors belong to, per the groups’ IDs. | [authorId](#authorid) | Narrows the query results based on the entries’ authors. -| [average](#average) | Returns the average of the specified column values. | [before](#before) | Narrows the query results to only entries that were posted before a certain date. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). @@ -41,8 +40,6 @@ | [leaves](#leaves) | Narrows the query results based on whether the entries are “leaves” (entries with no descendants). | [level](#level) | Narrows the query results based on the entries’ level within the structure. | [limit](#limit) | Determines the number of entries that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [nextSiblingOf](#nextsiblingof) | Narrows the query results to only the entry that comes immediately after another entry in its structure. | [offset](#offset) | Determines how many entries should be skipped in the results. | [orderBy](#orderby) | Determines the order that the entries should be returned in. (If empty, defaults to `postDate DESC, elements.id`, or the order defined by the section if the [section](#section) or [sectionId](#sectionid) params are set to a single Structure section.) @@ -69,7 +66,6 @@ | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the entries’ IDs in the `elements_sites` table. | [slug](#slug) | Narrows the query results based on the entries’ slugs. | [status](#status) | Narrows the query results based on the entries’ statuses. -| [sum](#sum) | Returns the sum of the specified column values. | [title](#title) | Narrows the query results based on the entries’ titles. | [trashed](#trashed) | Narrows the query results to only entries that have been soft-deleted. | [type](#type) | Narrows the query results based on the entries’ entry types. @@ -361,19 +357,6 @@ $entries = \craft\elements\Entry::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `before` Narrows the query results to only entries that were posted before a certain date. @@ -1036,32 +1019,6 @@ $entries = \craft\elements\Entry::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `nextSiblingOf` Narrows the query results to only the entry that comes immediately after another entry in its structure. @@ -1850,19 +1807,6 @@ $entries = \craft\elements\Entry::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `title` Narrows the query results based on the entries’ titles. diff --git a/docs/.artifacts/cms/4.x/globals.md b/docs/.artifacts/cms/4.x/globals.md index 9f9d882a7..4f510837d 100644 --- a/docs/.artifacts/cms/4.x/globals.md +++ b/docs/.artifacts/cms/4.x/globals.md @@ -12,7 +12,6 @@ | [afterPopulate](#afterpopulate) | Performs any post-population processing on elements. | [andRelatedTo](#andrelatedto) | Narrows the query results to only global sets that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching global sets as arrays of data, rather than [GlobalSet](craft4:craft\elements\GlobalSet) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [dateCreated](#datecreated) | Narrows the query results based on the global sets’ creation dates. @@ -25,8 +24,6 @@ | [inReverse](#inreverse) | Causes the query results to be returned in reverse order. | [language](#language) | Determines which site(s) the global sets should be queried in, based on their language. | [limit](#limit) | Determines the number of global sets that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many global sets should be skipped in the results. | [orderBy](#orderby) | Determines the order that the global sets should be returned in. (If empty, defaults to `sortOrder ASC`.) | [preferSites](#prefersites) | If [unique](#unique) is set, this determines which site should be selected when querying multi-site elements. @@ -36,7 +33,6 @@ | [site](#site) | Determines which site(s) the global sets should be queried in. | [siteId](#siteid) | Determines which site(s) the global sets should be queried in, per the site’s ID. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the global sets’ IDs in the `elements_sites` table. -| [sum](#sum) | Returns the sum of the specified column values. | [trashed](#trashed) | Narrows the query results to only global sets that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the global sets’ UIDs. | [unique](#unique) | Determines whether only elements with unique IDs should be returned by the query. @@ -126,19 +122,6 @@ $globalSets = \craft\elements\GlobalSet::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -481,32 +464,6 @@ $globalSets = \craft\elements\GlobalSet::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many global sets should be skipped in the results. @@ -769,19 +726,6 @@ $globalSet = \craft\elements\GlobalSet::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `trashed` Narrows the query results to only global sets that have been soft-deleted. diff --git a/docs/.artifacts/cms/4.x/matrix-blocks.md b/docs/.artifacts/cms/4.x/matrix-blocks.md index ecfb17c56..d52524c83 100644 --- a/docs/.artifacts/cms/4.x/matrix-blocks.md +++ b/docs/.artifacts/cms/4.x/matrix-blocks.md @@ -14,7 +14,6 @@ | [allowOwnerRevisions](#allowownerrevisions) | Narrows the query results based on whether the Matrix blocks’ owners are revisions. | [andRelatedTo](#andrelatedto) | Narrows the query results to only Matrix blocks that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching Matrix blocks as arrays of data, rather than [MatrixBlock](craft4:craft\elements\MatrixBlock) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [dateCreated](#datecreated) | Narrows the query results based on the Matrix blocks’ creation dates. @@ -28,8 +27,6 @@ | [inReverse](#inreverse) | Causes the query results to be returned in reverse order. | [language](#language) | Determines which site(s) the Matrix blocks should be queried in, based on their language. | [limit](#limit) | Determines the number of Matrix blocks that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many Matrix blocks should be skipped in the results. | [orderBy](#orderby) | Determines the order that the Matrix blocks should be returned in. (If empty, defaults to `sortOrder ASC`.) | [owner](#owner) | Sets the [ownerId](#ownerid) and [siteId](#siteid) parameters based on a given element. @@ -44,7 +41,6 @@ | [siteId](#siteid) | Determines which site(s) the Matrix blocks should be queried in, per the site’s ID. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the Matrix blocks’ IDs in the `elements_sites` table. | [status](#status) | Narrows the query results based on the Matrix blocks’ statuses. -| [sum](#sum) | Returns the sum of the specified column values. | [trashed](#trashed) | Narrows the query results to only Matrix blocks that have been soft-deleted. | [type](#type) | Narrows the query results based on the Matrix blocks’ block types. | [typeId](#typeid) | Narrows the query results based on the Matrix blocks’ block types, per the types’ IDs. @@ -164,19 +160,6 @@ $MatrixBlocks = \craft\elements\MatrixBlock::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -552,32 +535,6 @@ $MatrixBlocks = \craft\elements\MatrixBlock::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many Matrix blocks should be skipped in the results. @@ -983,19 +940,6 @@ $MatrixBlocks = \craft\elements\MatrixBlock::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `trashed` Narrows the query results to only Matrix blocks that have been soft-deleted. diff --git a/docs/.artifacts/cms/4.x/tags.md b/docs/.artifacts/cms/4.x/tags.md index 53a0564a9..96be33481 100644 --- a/docs/.artifacts/cms/4.x/tags.md +++ b/docs/.artifacts/cms/4.x/tags.md @@ -12,7 +12,6 @@ | [afterPopulate](#afterpopulate) | Performs any post-population processing on elements. | [andRelatedTo](#andrelatedto) | Narrows the query results to only tags that are related to certain other elements. | [asArray](#asarray) | Causes the query to return matching tags as arrays of data, rather than [Tag](craft4:craft\elements\Tag) objects. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). | [dateCreated](#datecreated) | Narrows the query results based on the tags’ creation dates. @@ -26,8 +25,6 @@ | [inReverse](#inreverse) | Causes the query results to be returned in reverse order. | [language](#language) | Determines which site(s) the tags should be queried in, based on their language. | [limit](#limit) | Determines the number of tags that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many tags should be skipped in the results. | [orderBy](#orderby) | Determines the order that the tags should be returned in. (If empty, defaults to `title ASC`.) | [preferSites](#prefersites) | If [unique](#unique) is set, this determines which site should be selected when querying multi-site elements. @@ -37,7 +34,6 @@ | [site](#site) | Determines which site(s) the tags should be queried in. | [siteId](#siteid) | Determines which site(s) the tags should be queried in, per the site’s ID. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the tags’ IDs in the `elements_sites` table. -| [sum](#sum) | Returns the sum of the specified column values. | [title](#title) | Narrows the query results based on the tags’ titles. | [trashed](#trashed) | Narrows the query results to only tags that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the tags’ UIDs. @@ -129,19 +125,6 @@ $tags = \craft\elements\Tag::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -517,32 +500,6 @@ $tags = \craft\elements\Tag::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many tags should be skipped in the results. @@ -805,19 +762,6 @@ $tag = \craft\elements\Tag::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `title` Narrows the query results based on the tags’ titles. diff --git a/docs/.artifacts/cms/4.x/users.md b/docs/.artifacts/cms/4.x/users.md index 3c8a07013..db508f51e 100644 --- a/docs/.artifacts/cms/4.x/users.md +++ b/docs/.artifacts/cms/4.x/users.md @@ -15,7 +15,6 @@ | [asArray](#asarray) | Causes the query to return matching users as arrays of data, rather than [User](craft4:craft\elements\User) objects. | [assetUploaders](#assetuploaders) | Narrows the query results to only users that have uploaded an asset. | [authors](#authors) | Narrows the query results to only users that are authors of an entry. -| [average](#average) | Returns the average of the specified column values. | [cache](#cache) | Enables query cache for this Query. | [can](#can) | Narrows the query results to only users that have a certain user permission, either directly on the user account or through one of their user groups. | [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache). @@ -36,8 +35,6 @@ | [lastLoginDate](#lastlogindate) | Narrows the query results based on the users’ last login dates. | [lastName](#lastname) | Narrows the query results based on the users’ last names. | [limit](#limit) | Determines the number of users that should be returned. -| [max](#max) | Returns the maximum of the specified column values. -| [min](#min) | Returns the minimum of the specified column values. | [offset](#offset) | Determines how many users should be skipped in the results. | [orderBy](#orderby) | Determines the order that the users should be returned in. (If empty, defaults to `username ASC`.) | [preferSites](#prefersites) | If [unique()](https://docs.craftcms.com/api/v4/craft-elements-db-elementquery.html#method-unique) is set, this determines which site should be selected when querying multi-site elements. @@ -46,7 +43,6 @@ | [search](#search) | Narrows the query results to only users that match a search query. | [siteSettingsId](#sitesettingsid) | Narrows the query results based on the users’ IDs in the `elements_sites` table. | [status](#status) | Narrows the query results based on the users’ statuses. -| [sum](#sum) | Returns the sum of the specified column values. | [trashed](#trashed) | Narrows the query results to only users that have been soft-deleted. | [uid](#uid) | Narrows the query results based on the users’ UIDs. | [username](#username) | Narrows the query results based on the users’ usernames. @@ -206,19 +202,6 @@ $users = \craft\elements\User::find() ::: -#### `average` - -Returns the average of the specified column values. - - - - - - - - - - #### `cache` Enables query cache for this Query. @@ -801,32 +784,6 @@ $users = \craft\elements\User::find() ::: -#### `max` - -Returns the maximum of the specified column values. - - - - - - - - - - -#### `min` - -Returns the minimum of the specified column values. - - - - - - - - - - #### `offset` Determines how many users should be skipped in the results. @@ -1047,19 +1004,6 @@ $users = \craft\elements\User::find() ::: -#### `sum` - -Returns the sum of the specified column values. - - - - - - - - - - #### `trashed` Narrows the query results to only users that have been soft-deleted.