Tag: grouping

Understanding Index Grouping And Aggregation in Couchbase N1QL Query
Understanding Index Grouping And Aggregation in Couchbase N1QL Query

Index grouping and aggregations can improve query performance magnitude and reduce the latencies to make SQL for JSON query processing easier.

Aggregate grouping with N1QL / MapReduce
Aggregate grouping with N1QL / MapReduce

Aggregate grouping (similar to GROUP_CONCAT) can be done in Couchbase Server with N1QL's ARRAY_AGG or with a MapReduce View.