Collection projection

If array you can use foo[*].a because it subscripts, not for objects which needs fields.

https://docs.couchbase.com/server/6.0/n1ql/n1ql-language-reference/arrayfun.html#fn-array-star