You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
WIP
This commit is contained in:
@@ -14,7 +14,7 @@ type QueryRawReply = TuplesReply<[
|
||||
metadata: Metadata
|
||||
]>;
|
||||
|
||||
type QueryParam = null | string | number | boolean | QueryParams | Array<QueryParam>;
|
||||
type QueryParam = null | RedisArgument | number | boolean | QueryParams | Array<QueryParam>;
|
||||
|
||||
type QueryParams = {
|
||||
[key: string]: QueryParam;
|
||||
|
@@ -5,7 +5,7 @@ import SLOWLOG from './SLOWLOG';
|
||||
describe('GRAPH.SLOWLOG', () => {
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key'),
|
||||
SLOWLOG.transformArguments('key'),
|
||||
['GRAPH.SLOWLOG', 'key']
|
||||
);
|
||||
});
|
||||
|
@@ -7,7 +7,7 @@ import LIST from './LIST';
|
||||
import PROFILE from './PROFILE';
|
||||
import QUERY from './QUERY';
|
||||
import RO_QUERY from './RO_QUERY';
|
||||
// import SLOWLOG from './SLOWLOG';
|
||||
import SLOWLOG from './SLOWLOG';
|
||||
|
||||
export default {
|
||||
CONFIG_GET,
|
||||
@@ -26,6 +26,6 @@ export default {
|
||||
query: QUERY,
|
||||
RO_QUERY,
|
||||
roQuery: RO_QUERY,
|
||||
// SLOWLOG,
|
||||
// slowLog: SLOWLOG
|
||||
SLOWLOG,
|
||||
slowLog: SLOWLOG
|
||||
} as const satisfies RedisCommands;
|
||||
|
Reference in New Issue
Block a user