Ghost/ghost/bookshelf-repository
Steve Larson 842290cbef
Improved performance for filter strings with multiple neq statements (#20198)
ref https://linear.app/tryghost/issue/CFR-27
- updated packages to include performance improvement for NQL filter
strings including multiple neq filters for the same resource
- bumped `bookshelf-plugins`
- bumped NQL versions

We identified a performance fix that allows us to combine not equal
(neq) filters for the same resource in a logically-equivalent way that
also has far more performant resulting SQL.

We're effectively automatically combining strings like
'tag:-tag1+tag:-tag2` into 'tag:-[tag1,tag2]'.
2024-05-13 10:35:27 -05:00
..
src Added order option to recommendations API with sorting on counts (#18417) 2023-10-02 14:51:03 +00:00
test Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
.eslintrc.js Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
package.json Improved performance for filter strings with multiple neq statements (#20198) 2024-05-13 10:35:27 -05:00
README.md Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00
tsconfig.json Added BookshelfRepository and BookshelfRecommendationRepository 2023-09-01 15:10:34 +02:00

Bookshelf Repository

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests