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
Pipeline.group() method wont' allow more than 1 field name of class string, whereas doc indicates set or list can be passed.
Example : Pipeline().group(by=["field1", "field2"]) will throw an error.
Thus, multi-fields group cannot be set and such a syntax : {$group: {$_id : { field1: "$field1", field2: "$field2"}}} cannot be achived
The text was updated successfully, but these errors were encountered:
Pipeline.group() method wont' allow more than 1 field name of class string, whereas doc indicates set or list can be passed.
Example :
Pipeline().group(by=["field1", "field2"])
will throw an error.Thus, multi-fields group cannot be set and such a syntax :
{$group: {$_id : { field1: "$field1", field2: "$field2"}}}
cannot be achivedThe text was updated successfully, but these errors were encountered: