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:
@ -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}
|
||||
$$);
|
||||
`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user