weaviate-client
    Preparing search index...

    Type Alias GroupByReturn<T, V>

    The return of a query method in the collection.query namespace where the groupBy argument was specified.

    type GroupByReturn<T, V> = {
        groups: Record<string, GroupByResult<T, V>>;
        objects: GroupByObject<T, V>[];
    }

    Type Parameters

    • T
    • V
    Index

    Properties

    Properties

    groups: Record<string, GroupByResult<T, V>>

    The groups that were created by the query.

    objects: GroupByObject<T, V>[]

    The objects that were found by the query.