Skip to content

Commit d89388c

Browse files
committed
commerce@59b4f28
Finish 4.6.4
1 parent e2a2295 commit d89388c

File tree

4 files changed

+0
-280
lines changed

4 files changed

+0
-280
lines changed

docs/.artifacts/commerce/4.x/donations.md

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
1212
| [andRelatedTo](#andrelatedto) | Narrows the query results to only elements that are related to certain other elements.
1313
| [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.
1514
| [cache](#cache) | Enables query cache for this Query.
1615
| [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
1716
| [dateCreated](#datecreated) | Narrows the query results based on the elements’ creation dates.
@@ -22,8 +21,6 @@
2221
| [inReverse](#inreverse) | Causes the query results to be returned in reverse order.
2322
| [language](#language) | Determines which site(s) the elements should be queried in, based on their language.
2423
| [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.
2724
| [offset](#offset) | Determines how many elements should be skipped in the results.
2825
| [orderBy](#orderby) | Determines the order that the elements should be returned in. (If empty, defaults to `dateCreated DESC, elements.id`.)
2926
| [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 @@
3229
| [search](#search) | Narrows the query results to only elements that match a search query.
3330
| [siteSettingsId](#sitesettingsid) | Narrows the query results based on the elements’ IDs in the `elements_sites` table.
3431
| [sku](#sku) | Narrows the query results based on the SKU.
35-
| [sum](#sum) | Returns the sum of the specified column values.
3632
| [trashed](#trashed) | Narrows the query results to only elements that have been soft-deleted.
3733
| [uid](#uid) | Narrows the query results based on the elements’ UIDs.
3834
| [with](#with) | Causes the query to return matching elements eager-loaded with related elements.
@@ -108,19 +104,6 @@ $elements = ElementClass::find()
108104
:::
109105

110106

111-
#### `average`
112-
113-
Returns the average of the specified column values.
114-
115-
116-
117-
118-
119-
120-
121-
122-
123-
124107
#### `cache`
125108

126109
Enables query cache for this Query.
@@ -392,32 +375,6 @@ $elements = ElementClass::find()
392375
:::
393376

394377

395-
#### `max`
396-
397-
Returns the maximum of the specified column values.
398-
399-
400-
401-
402-
403-
404-
405-
406-
407-
408-
#### `min`
409-
410-
Returns the minimum of the specified column values.
411-
412-
413-
414-
415-
416-
417-
418-
419-
420-
421378
#### `offset`
422379

423380
Determines how many elements should be skipped in the results.
@@ -634,19 +591,6 @@ $element = ElementClass::find()
634591
:::
635592

636593

637-
#### `sum`
638-
639-
Returns the sum of the specified column values.
640-
641-
642-
643-
644-
645-
646-
647-
648-
649-
650594
#### `trashed`
651595

652596
Narrows the query results to only elements that have been soft-deleted.

docs/.artifacts/commerce/4.x/orders-carts.md

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
| [afterPopulate](#afterpopulate) | Performs any post-population processing on elements.
1212
| [andRelatedTo](#andrelatedto) | Narrows the query results to only orders that are related to certain other elements.
1313
| [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.
1514
| [cache](#cache) | Enables query cache for this Query.
1615
| [clearCachedResult](#clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
1716
| [customer](#customer) | Narrows the query results based on the customer’s user account.
@@ -39,8 +38,6 @@
3938
| [itemTotal](#itemtotal) | Narrows the query results based on the order’s item total.
4039
| [language](#language) | Determines which site(s) the orders should be queried in, based on their language.
4140
| [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.
4441
| [number](#number) | Narrows the query results based on the order number.
4542
| [offset](#offset) | Determines how many orders should be skipped in the results.
4643
| [orderBy](#orderby) | Determines the order that the orders should be returned in. (If empty, defaults to `id ASC`.)
@@ -57,7 +54,6 @@
5754
| [shippingMethodHandle](#shippingmethodhandle) | Narrows the query results based on the shipping method handle.
5855
| [shortNumber](#shortnumber) | Narrows the query results based on the order short number.
5956
| [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.
6157
| [total](#total) | Narrows the query results based on the total.
6258
| [totalDiscount](#totaldiscount) | Narrows the query results based on the total discount.
6359
| [totalPaid](#totalpaid) | Narrows the query results based on the total paid amount.
@@ -145,19 +141,6 @@ $orders = \craft\commerce\elements\Order::find()
145141
:::
146142

147143

148-
#### `average`
149-
150-
Returns the average of the specified column values.
151-
152-
153-
154-
155-
156-
157-
158-
159-
160-
161144
#### `cache`
162145

163146
Enables query cache for this Query.
@@ -824,32 +807,6 @@ $orders = \craft\commerce\elements\Order::find()
824807
:::
825808

826809

827-
#### `max`
828-
829-
Returns the maximum of the specified column values.
830-
831-
832-
833-
834-
835-
836-
837-
838-
839-
840-
#### `min`
841-
842-
Returns the minimum of the specified column values.
843-
844-
845-
846-
847-
848-
849-
850-
851-
852-
853810
#### `number`
854811

855812
Narrows the query results based on the order number.
@@ -1327,19 +1284,6 @@ $order = \craft\commerce\elements\Order::find()
13271284
:::
13281285

13291286

1330-
#### `sum`
1331-
1332-
Returns the sum of the specified column values.
1333-
1334-
1335-
1336-
1337-
1338-
1339-
1340-
1341-
1342-
13431287
#### `total`
13441288

13451289
Narrows the query results based on the total.

docs/.artifacts/commerce/4.x/products-variants.md

Lines changed: 0 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Product queries support the following parameters:
1717
| [andRelatedTo](#product-andrelatedto) | Narrows the query results to only products that are related to certain other elements.
1818
| [asArray](#product-asarray) | Causes the query to return matching products as arrays of data, rather than [Product](commerce4:craft\commerce\elements\Product) objects.
1919
| [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.
2120
| [before](#product-before) | Narrows the query results to only products that were posted before a certain date.
2221
| [cache](#product-cache) | Enables query cache for this Query.
2322
| [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:
3736
| [inReverse](#product-inreverse) | Causes the query results to be returned in reverse order.
3837
| [language](#product-language) | Determines which site(s) the products should be queried in, based on their language.
3938
| [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.
4239
| [offset](#product-offset) | Determines how many products should be skipped in the results.
4340
| [orderBy](#product-orderby) | Determines the order that the products should be returned in. (If empty, defaults to `postDate DESC`.)
4441
| [postDate](#product-postdate) | Narrows the query results based on the products’ post dates.
@@ -53,7 +50,6 @@ Product queries support the following parameters:
5350
| [siteSettingsId](#product-sitesettingsid) | Narrows the query results based on the products’ IDs in the `elements_sites` table.
5451
| [slug](#product-slug) | Narrows the query results based on the products’ slugs.
5552
| [status](#product-status) | Narrows the query results based on the products’ statuses.
56-
| [sum](#product-sum) | Returns the sum of the specified column values.
5753
| [taxCategory](#product-taxcategory) | Narrows the query results based on the products’ tax category.
5854
| [taxCategoryId](#product-taxcategoryid) | Narrows the query results based on the products’ tax categories, per the tax categories’ IDs.
5955
| [title](#product-title) | Narrows the query results based on the products’ titles.
@@ -193,19 +189,6 @@ $products = \craft\commerce\elements\Product::find()
193189
:::
194190

195191

196-
<h4 id="product-average"><a href="#product-average" class="header-anchor">#</a> <code>average</code></h4>
197-
198-
Returns the average of the specified column values.
199-
200-
201-
202-
203-
204-
205-
206-
207-
208-
209192
<h4 id="product-before"><a href="#product-before" class="header-anchor">#</a> <code>before</code></h4>
210193

211194
Narrows the query results to only products that were posted before a certain date.
@@ -749,32 +732,6 @@ $products = \craft\commerce\elements\Product::find()
749732
:::
750733

751734

752-
<h4 id="product-max"><a href="#product-max" class="header-anchor">#</a> <code>max</code></h4>
753-
754-
Returns the maximum of the specified column values.
755-
756-
757-
758-
759-
760-
761-
762-
763-
764-
765-
<h4 id="product-min"><a href="#product-min" class="header-anchor">#</a> <code>min</code></h4>
766-
767-
Returns the minimum of the specified column values.
768-
769-
770-
771-
772-
773-
774-
775-
776-
777-
778735
<h4 id="product-offset"><a href="#product-offset" class="header-anchor">#</a> <code>offset</code></h4>
779736

780737
Determines how many products should be skipped in the results.
@@ -1215,19 +1172,6 @@ $products = \craft\commerce\elements\Product::find()
12151172
:::
12161173

12171174

1218-
<h4 id="product-sum"><a href="#product-sum" class="header-anchor">#</a> <code>sum</code></h4>
1219-
1220-
Returns the sum of the specified column values.
1221-
1222-
1223-
1224-
1225-
1226-
1227-
1228-
1229-
1230-
12311175
<h4 id="product-taxcategory"><a href="#product-taxcategory" class="header-anchor">#</a> <code>taxCategory</code></h4>
12321176

12331177
Narrows the query results based on the products’ tax category.
@@ -1715,7 +1659,6 @@ Variant queries support the following parameters:
17151659
| [afterPopulate](#variant-afterpopulate) | Performs any post-population processing on elements.
17161660
| [andRelatedTo](#variant-andrelatedto) | Narrows the query results to only variants that are related to certain other elements.
17171661
| [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.
17191662
| [cache](#variant-cache) | Enables query cache for this Query.
17201663
| [clearCachedResult](#variant-clearcachedresult) | Clears the [cached result](https://craftcms.com/docs/4.x/element-queries.html#cache).
17211664
| [dateCreated](#variant-datecreated) | Narrows the query results based on the variants’ creation dates.
@@ -1733,9 +1676,7 @@ Variant queries support the following parameters:
17331676
| [language](#variant-language) | Determines which site(s) the variants should be queried in, based on their language.
17341677
| [length](#variant-length) | Narrows the query results based on the variants’ length dimension.
17351678
| [limit](#variant-limit) | Determines the number of variants that should be returned.
1736-
| [max](#variant-max) | Returns the maximum of the specified column values.
17371679
| [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.
17391680
| [minQty](#variant-minqty) | Narrows the query results based on the variants’ min quantity.
17401681
| [offset](#variant-offset) | Determines how many variants should be skipped in the results.
17411682
| [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:
17521693
| [sku](#variant-sku) | Narrows the query results based on the variants’ SKUs.
17531694
| [status](#variant-status) |
17541695
| [stock](#variant-stock) | Narrows the query results based on the variants’ stock.
1755-
| [sum](#variant-sum) | Returns the sum of the specified column values.
17561696
| [title](#variant-title) | Narrows the query results based on the variants’ titles.
17571697
| [trashed](#variant-trashed) | Narrows the query results to only variants that have been soft-deleted.
17581698
| [typeId](#variant-typeid) | Narrows the query results based on the variants’ product types, per their IDs.
@@ -1833,19 +1773,6 @@ $variants = \craft\commerce\elements\Variant::find()
18331773
:::
18341774

18351775

1836-
<h4 id="variant-average"><a href="#variant-average" class="header-anchor">#</a> <code>average</code></h4>
1837-
1838-
Returns the average of the specified column values.
1839-
1840-
1841-
1842-
1843-
1844-
1845-
1846-
1847-
1848-
18491776
<h4 id="variant-cache"><a href="#variant-cache" class="header-anchor">#</a> <code>cache</code></h4>
18501777

18511778
Enables query cache for this Query.
@@ -2225,19 +2152,6 @@ $variants = \craft\commerce\elements\Variant::find()
22252152
:::
22262153

22272154

2228-
<h4 id="variant-max"><a href="#variant-max" class="header-anchor">#</a> <code>max</code></h4>
2229-
2230-
Returns the maximum of the specified column values.
2231-
2232-
2233-
2234-
2235-
2236-
2237-
2238-
2239-
2240-
22412155
<h4 id="variant-maxqty"><a href="#variant-maxqty" class="header-anchor">#</a> <code>maxQty</code></h4>
22422156

22432157
Narrows the query results based on the variants’ max quantity.
@@ -2253,19 +2167,6 @@ Possible values include:
22532167

22542168

22552169

2256-
<h4 id="variant-min"><a href="#variant-min" class="header-anchor">#</a> <code>min</code></h4>
2257-
2258-
Returns the minimum of the specified column values.
2259-
2260-
2261-
2262-
2263-
2264-
2265-
2266-
2267-
2268-
22692170
<h4 id="variant-minqty"><a href="#variant-minqty" class="header-anchor">#</a> <code>minQty</code></h4>
22702171

22712172
Narrows the query results based on the variants’ min quantity.
@@ -2624,19 +2525,6 @@ Possible values include:
26242525

26252526

26262527

2627-
<h4 id="variant-sum"><a href="#variant-sum" class="header-anchor">#</a> <code>sum</code></h4>
2628-
2629-
Returns the sum of the specified column values.
2630-
2631-
2632-
2633-
2634-
2635-
2636-
2637-
2638-
2639-
26402528
<h4 id="variant-title"><a href="#variant-title" class="header-anchor">#</a> <code>title</code></h4>
26412529

26422530
Narrows the query results based on the variants’ titles.

0 commit comments

Comments
 (0)