Lime Web Components API Documentation - v7.2.0
    Preparing search index...

    Interface QueryService

    Service for executing queries using the query objects API

    interface QueryService {
        execute<Q extends Query>(query: Q): Promise<QueryResponse<Q>>;
    }
    Index

    Methods

    Methods

    • Execute a query.

      The response type is inferred from the query's responseFormat. Define the query inline or with satisfies Query to keep the literal shape that drives the inference.

      Type Parameters

      Parameters

      • query: Q

      Returns Promise<QueryResponse<Q>>