How do I group by an embedded field using SQL.
Answered
This is what I mean
select "parent.child" as grp, count(*) from document group by grp
This is what I mean
select "parent.child" as grp, count(*) from document group by grp
try
There is a problem with grouping field aliases. BTW, Turn on "Menu->Options->VerboseShell" to view the generated mongoshell script
try
There is a problem with grouping field aliases. BTW, Turn on "Menu->Options->VerboseShell" to view the generated mongoshell script
Replies have been locked on this page!