You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/.artifacts/commerce/4.x/donations.md
-56Lines changed: 0 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@
11
11
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
12
12
| [andRelatedTo](#andrelatedto) | Narrows the query results to only elements that are related to certain other elements.
13
13
| [asArray](#asarray) | Causes the query to return matching elements as arrays of data, rather than ElementClass objects.
14
-
| [average](#average) | Returns the average of the specified column values.
15
14
| [cache](#cache) | Enables query cache for this Query.
16
15
| [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
17
16
| [dateCreated](#datecreated) | Narrows the query results based on the elements’ creation dates.
@@ -22,8 +21,6 @@
22
21
| [inReverse](#inreverse) | Causes the query results to be returned in reverse order.
23
22
| [language](#language) | Determines which site(s) the elements should be queried in, based on their language.
24
23
| [limit](#limit) | Determines the number of elements that should be returned.
25
-
| [max](#max) | Returns the maximum of the specified column values.
26
-
| [min](#min) | Returns the minimum of the specified column values.
27
24
| [offset](#offset) | Determines how many elements should be skipped in the results.
28
25
| [orderBy](#orderby) | Determines the order that the elements should be returned in. (If empty, defaults to `dateCreated DESC, elements.id`.)
29
26
| [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.
@@ -32,7 +29,6 @@
32
29
| [search](#search) | Narrows the query results to only elements that match a search query.
33
30
| [siteSettingsId](#sitesettingsid) | Narrows the query results based on the elements’ IDs in the `elements_sites` table.
34
31
| [sku](#sku) | Narrows the query results based on the SKU.
35
-
| [sum](#sum) | Returns the sum of the specified column values.
36
32
| [trashed](#trashed) | Narrows the query results to only elements that have been soft-deleted.
37
33
| [uid](#uid) | Narrows the query results based on the elements’ UIDs.
38
34
| [with](#with) | Causes the query to return matching elements eager-loaded with related elements.
Copy file name to clipboardExpand all lines: docs/.artifacts/commerce/4.x/orders-carts.md
-56Lines changed: 0 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@
11
11
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
12
12
| [andRelatedTo](#andrelatedto) | Narrows the query results to only orders that are related to certain other elements.
13
13
| [asArray](#asarray) | Causes the query to return matching orders as arrays of data, rather than [Order](commerce4:craft\commerce\elements\Order) objects.
14
-
| [average](#average) | Returns the average of the specified column values.
15
14
| [cache](#cache) | Enables query cache for this Query.
16
15
| [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
17
16
| [customer](#customer) | Narrows the query results based on the customer’s user account.
@@ -39,8 +38,6 @@
39
38
| [itemTotal](#itemtotal) | Narrows the query results based on the order’s item total.
40
39
| [language](#language) | Determines which site(s) the orders should be queried in, based on their language.
41
40
| [limit](#limit) | Determines the number of orders that should be returned.
42
-
| [max](#max) | Returns the maximum of the specified column values.
43
-
| [min](#min) | Returns the minimum of the specified column values.
44
41
| [number](#number) | Narrows the query results based on the order number.
45
42
| [offset](#offset) | Determines how many orders should be skipped in the results.
46
43
| [orderBy](#orderby) | Determines the order that the orders should be returned in. (If empty, defaults to `id ASC`.)
@@ -57,7 +54,6 @@
57
54
| [shippingMethodHandle](#shippingmethodhandle) | Narrows the query results based on the shipping method handle.
58
55
| [shortNumber](#shortnumber) | Narrows the query results based on the order short number.
59
56
| [siteSettingsId](#sitesettingsid) | Narrows the query results based on the orders’ IDs in the `elements_sites` table.
60
-
| [sum](#sum) | Returns the sum of the specified column values.
61
57
| [total](#total) | Narrows the query results based on the total.
62
58
| [totalDiscount](#totaldiscount) | Narrows the query results based on the total discount.
63
59
| [totalPaid](#totalpaid) | Narrows the query results based on the total paid amount.
Copy file name to clipboardExpand all lines: docs/.artifacts/commerce/4.x/products-variants.md
-112Lines changed: 0 additions & 112 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ Product queries support the following parameters:
17
17
| [andRelatedTo](#product-andrelatedto) | Narrows the query results to only products that are related to certain other elements.
18
18
| [asArray](#product-asarray) | Causes the query to return matching products as arrays of data, rather than [Product](commerce4:craft\commerce\elements\Product) objects.
19
19
| [availableForPurchase](#product-availableforpurchase) | Narrows the query results to only products that are available for purchase.
20
-
| [average](#product-average) | Returns the average of the specified column values.
21
20
| [before](#product-before) | Narrows the query results to only products that were posted before a certain date.
22
21
| [cache](#product-cache) | Enables query cache for this Query.
23
22
| [clearCachedResult](#product-clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
@@ -37,8 +36,6 @@ Product queries support the following parameters:
37
36
| [inReverse](#product-inreverse) | Causes the query results to be returned in reverse order.
38
37
| [language](#product-language) | Determines which site(s) the products should be queried in, based on their language.
39
38
| [limit](#product-limit) | Determines the number of products that should be returned.
40
-
| [max](#product-max) | Returns the maximum of the specified column values.
41
-
| [min](#product-min) | Returns the minimum of the specified column values.
42
39
| [offset](#product-offset) | Determines how many products should be skipped in the results.
43
40
| [orderBy](#product-orderby) | Determines the order that the products should be returned in. (If empty, defaults to `postDate DESC`.)
44
41
| [postDate](#product-postdate) | Narrows the query results based on the products’ post dates.
@@ -53,7 +50,6 @@ Product queries support the following parameters:
53
50
| [siteSettingsId](#product-sitesettingsid) | Narrows the query results based on the products’ IDs in the `elements_sites` table.
54
51
| [slug](#product-slug) | Narrows the query results based on the products’ slugs.
55
52
| [status](#product-status) | Narrows the query results based on the products’ statuses.
56
-
| [sum](#product-sum) | Returns the sum of the specified column values.
57
53
| [taxCategory](#product-taxcategory) | Narrows the query results based on the products’ tax category.
58
54
| [taxCategoryId](#product-taxcategoryid) | Narrows the query results based on the products’ tax categories, per the tax categories’ IDs.
59
55
| [title](#product-title) | Narrows the query results based on the products’ titles.
Narrows the query results based on the products’ tax category.
@@ -1715,7 +1659,6 @@ Variant queries support the following parameters:
1715
1659
| [afterPopulate](#variant-afterpopulate) | Performs any post-population processing on elements.
1716
1660
| [andRelatedTo](#variant-andrelatedto) | Narrows the query results to only variants that are related to certain other elements.
1717
1661
| [asArray](#variant-asarray) | Causes the query to return matching variants as arrays of data, rather than [Variant](commerce4:craft\commerce\elements\Variant) objects.
1718
-
| [average](#variant-average) | Returns the average of the specified column values.
1719
1662
| [cache](#variant-cache) | Enables query cache for this Query.
1720
1663
| [clearCachedResult](#variant-clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
1721
1664
| [dateCreated](#variant-datecreated) | Narrows the query results based on the variants’ creation dates.
@@ -1733,9 +1676,7 @@ Variant queries support the following parameters:
1733
1676
| [language](#variant-language) | Determines which site(s) the variants should be queried in, based on their language.
1734
1677
| [length](#variant-length) | Narrows the query results based on the variants’ length dimension.
1735
1678
| [limit](#variant-limit) | Determines the number of variants that should be returned.
1736
-
| [max](#variant-max) | Returns the maximum of the specified column values.
1737
1679
| [maxQty](#variant-maxqty) | Narrows the query results based on the variants’ max quantity.
1738
-
| [min](#variant-min) | Returns the minimum of the specified column values.
1739
1680
| [minQty](#variant-minqty) | Narrows the query results based on the variants’ min quantity.
1740
1681
| [offset](#variant-offset) | Determines how many variants should be skipped in the results.
1741
1682
| [orderBy](#variant-orderby) | Determines the order that the variants should be returned in. (If empty, defaults to `sortOrder ASC`.)
@@ -1752,7 +1693,6 @@ Variant queries support the following parameters:
1752
1693
| [sku](#variant-sku) | Narrows the query results based on the variants’ SKUs.
1753
1694
|[status](#variant-status)|
1754
1695
| [stock](#variant-stock) | Narrows the query results based on the variants’ stock.
1755
-
| [sum](#variant-sum) | Returns the sum of the specified column values.
1756
1696
| [title](#variant-title) | Narrows the query results based on the variants’ titles.
1757
1697
| [trashed](#variant-trashed) | Narrows the query results to only variants that have been soft-deleted.
1758
1698
| [typeId](#variant-typeid) | Narrows the query results based on the variants’ product types, per their IDs.
0 commit comments