json-fs-query
    Preparing search index...

    Function joinBases

    • The rows a join reads for each record in it, once for the whole join (every row's join then works from them):

      • the queried record: its rows (already read, or narrowed by the where clause)
      • the joined record when the where clause already narrowed it: those rows
      • a record joined by = to one already read, through an index on its field and with both fields of one type: only the rows whose value one of those rows has (the others can't match any row's join, and the order is the record's own, so the join's result is the same as from all of them)
      • any other: all its rows, kept on the query's data as before (merge reads them from there)

      Parameters

      • entity: string
      • joinEntity: string
      • dataSets: Object
      • steps: JoinStep[]
      • joinAlreadyResolved: boolean

      Returns Promise<Map<string, JoinSide>>