Description
select meta(m) from db.scope.mycollection as m where _id LIKE '%data';
|
returns the error
"Compilation error: Inappropriate use of function 'meta'. For example, after GROUP BY (in line 1, at column 8)"
|
even though there is no GROUP BY in the query.
The good news is that meta should only work on shadow collections - we just need a better error message.