Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node: added FCALL and FCALL_RO commands #2011

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

yipin-chen
Copy link
Collaborator

@yipin-chen yipin-chen added the node Node.js wrapper label Jul 24, 2024
Signed-off-by: Yi-Pin Chen <[email protected]>
/**
* Invokes a previously loaded read-only function.
*
* See https://valkey.io/commands/fcall/ for more details.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valkey document currently doesn't list fcall_ro command.

} else {
return createCommand(RequestType.FunctionFlush, []);
}
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just group all function commands together.

@yipin-chen yipin-chen marked this pull request as ready for review July 24, 2024 17:06
@yipin-chen yipin-chen requested a review from a team as a code owner July 24, 2024 17:06
@@ -13,6 +13,7 @@ import { Buffer, BufferWriter, Reader, Writer } from "protobufjs";
import {
AggregationType,
ExpireOptions,
GeoUnit,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My VS Code automatically fix the order.

node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/BaseClient.ts Outdated Show resolved Hide resolved
node/src/Commands.ts Outdated Show resolved Hide resolved
node/src/Commands.ts Outdated Show resolved Hide resolved
node/src/GlideClusterClient.ts Outdated Show resolved Hide resolved
node/src/Transaction.ts Outdated Show resolved Hide resolved
node/src/GlideClusterClient.ts Outdated Show resolved Hide resolved
node/src/GlideClusterClient.ts Outdated Show resolved Hide resolved
node/tests/RedisClient.test.ts Outdated Show resolved Hide resolved
node/src/GlideClusterClient.ts Outdated Show resolved Hide resolved
Signed-off-by: Yi-Pin Chen <[email protected]>
@yipin-chen yipin-chen merged commit b0f04e9 into valkey-io:main Jul 25, 2024
8 checks passed
@yipin-chen yipin-chen deleted the node/integ_yipin_fcall_valkey-82 branch July 25, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Node.js wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants