feat: add memory cache to boost performance (#2620)

* feat: add memory cache to boost performance

* fix: tests

* fix: logging

* fix: missing commented stuff
This commit is contained in:
Jérémy M
2023-11-21 18:29:31 +01:00
committed by GitHub
parent 74e0122294
commit dd125ddfcc
27 changed files with 458 additions and 17 deletions

View File

@ -142,13 +142,9 @@ export class WorkspaceQueryRunnerService {
)};
`);
const queryFormatted = query
.replace('neq:null', 'is:NOT_NULL')
.replace('eq:null', 'is:NULL');
const results = await workspaceDataSource?.query<PGGraphQLResult>(`
SELECT graphql.resolve($$
${queryFormatted}
${query}
$$);
`);