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
|**behavior**| String | No |`count_by_sub_request`| Method used to count results. Available values: <ul><li>`count_by_alias`: Use a alias (`SELECT count(alias) FROM ...`) *(`alias` option is required)*</li><li>`count_by_sub_request` : Use a sub request</li></ul> |
22
-
|**alias**| String | Only if `behavior = count_by_alias`|| Can only be used when `behavior = count_by_alias`|
23
-
|**distinct_alias**| Bool | No |`true`| Use `DISTINCT` (`SELECT count(DISTINCT alias) FROM ...`). Can only be used when `behavior = count_by_alias`|
24
-
18
+
| Option | Type | Required | Default value | Description|
|**behavior**| String | No |`count_by_select_all`| Method used to count results. Available values: <ul><li>`count_by_alias`: Use a alias (`SELECT count(alias) FROM ...`) *(`alias` option is required)*</li><li>`count_by_sub_request` : Use a sub request*(`connection` option is required)*</li><li>`count_by_select_all`: Use `SELECT count(*) FROM ...`)</li></ul> |
22
+
|**alias**| String | Only if `behavior = count_by_alias`|| Can only be used when `behavior = count_by_alias`|
23
+
|**distinct_alias**| Bool | No |`true`| Use `DISTINCT` (`SELECT count(DISTINCT alias) FROM ...`). Can only be used when `behavior = count_by_alias`|
24
+
|**connection**|`Doctrine\DBAL\Connection`| Only if `behavior = count_by_sub_request`|| Can only be used when `behavior = count_by_sub_request`|
0 commit comments