Ghost/ghost/members-api
Princi Vershwal 7bffe5b79a
Added option param to skip distinct from count query for members API
ref https://linear.app/tryghost/issue/SLO-173/removed-distinct-from-member-count-query

Performance of GET /members API can be improved by dropping the distinct from the total members count query.

select count(distinct members.id) as aggregate from `members`; // 275ms
select count(*) as aggregate from `members`; // 30ms

In this case we know that the result set will always be unique.
2024-06-27 17:35:19 +05:30
..
lib Added option param to skip distinct from count query for members API 2024-06-27 17:35:19 +05:30
test Fixed invalid tierId handling during member paid checkout (#20455) 2024-06-24 15:33:39 +00:00
.eslintrc.js Removed trailing commas from .eslintrc.js 2021-07-14 12:04:46 +01:00
index.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
package.json Update TryGhost packages 2024-05-27 16:58:32 +02:00