repo_description: A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
repo_topics: angular browser-database couchdb crdt database firebase graphql indexeddb ionic local-first localstorage nodejs nosql postgres pouchdb react-native realtime realtime-database rxdb sqlite
code: export type RxQueryPlanKey = string | number | undefined;
  
  export type RxQueryPlanerOpts = {
      startKey: RxQueryPlanKey;
      endKey: RxQueryPlanKey;
      /**
       * True if the first matching document
       * must also be included into the result set.
       */
      inclusiveStart: boolean;
      /**
       * True if the last matching document
       * must also be included into the result set.
       */
      inclusiveEnd: boolean;
  };
  
  export type RxQueryPlan = {
      index: string[];
      /**
       * If the index does not match the sort params,
       * we have to resort the query results manually
       * after fetching them from the index.
       */
      sortSatisfiedByIndex: boolean;
  
      /**
       * If the whole selector matching is satisfied
       * by the index, we do not have to run a does-document-data-match-query
       * stuff.
       */
      selectorSatisfiedByIndex: boolean;
  
      startKeys: RxQueryPlanKey[];
      endKeys: RxQueryPlanKey[];
      /**
       * True if the first matching document
       * must also be included into the result set.
       */
      inclusiveStart: boolean;
      /**
       * True if the last matching document
       * must also be included into the result set.
       */
      inclusiveEnd: boolean;
  
  };
  