We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5194ab0 commit 38c3a18Copy full SHA for 38c3a18
example/src/schema/query/queueKeys.ts
@@ -27,9 +27,9 @@ export function createQueueKeysFC(schemaComposer: SchemaComposer<any>) {
27
if (nameCase >= 2) {
28
prefixMaskNorm = prefixMaskNorm.split(':').slice(0, 2).join(':') + ':';
29
} else if (nameCase === 1) {
30
- prefixMaskNorm += ':';
+ prefixMaskNorm += prefixMaskNorm.endsWith(':') ? '*:' : ':';
31
} else {
32
- prefixMaskNorm += prefixMaskNorm.endsWith('*') ? ':*:' : '*:*:';
+ prefixMaskNorm += ':*:';
33
}
34
35
const keys = await connection.keys(prefixMaskNorm + 'meta');
0 commit comments