@newspapper/core
    Preparing search index...

    Function keywordsForPosts

    • Keywords for many posts in one query, keyed by post id. A list used to issue one keywordsForPost per row: GET /api/posts was 101 statements for 100 posts. Posts with none map to [].

      Parameters

      • db: Database
      • postIds: readonly number[]

      Returns Map<number, string[]>