@perspective-dev/client
    Preparing search index...

    Handler interface that you implement to provide custom data sources.

    All methods will be called by the VirtualServer when handling protocol messages from Perspective clients. Methods can return values directly or return Promises for asynchronous operations (e.g., database queries).

    Implements

    Index

    Constructors

    Methods

    • Returns {
          aggregates: {
              boolean: string[];
              date: string[];
              datetime: string[];
              float: string[];
              integer: string[];
              string: string[];
          };
          expressions: boolean;
          filter_ops: {
              boolean: string[];
              date: string[];
              datetime: string[];
              float: string[];
              integer: string[];
              string: string[];
          };
          group_by: boolean;
          sort: boolean;
          split_by: boolean;
      }