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: Add GEOSEARCHSTORE command. #2080

Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

No description provided.

@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner August 2, 2024 04:40
if (resultOptions.withCoord) args.push("WITHCOORD");
if (resultOptions.withDist) args.push("WITHDIST");
if (resultOptions.withHash) args.push("WITHHASH");
if ("withCoord" in resultOptions && resultOptions.withCoord)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the first check needed? Would it be false even if it doesn't exist?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

First check is needed to confirm that I can access to with*. I have to update this code, because there are 2 derived types with different sets of fields.

@acarbonetto acarbonetto merged commit 834a932 into valkey-io:main Aug 7, 2024
12 checks passed
@acarbonetto acarbonetto deleted the node/yuryf-valkey-49-geosearchstore branch August 7, 2024 15:51
GumpacG pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Aug 7, 2024
* Add `GEOSEARCHSTORE` command.

Signed-off-by: Yury-Fridlyand <[email protected]>

* Signed-off-by: Yury-Fridlyand <[email protected]>

---------

Signed-off-by: Yury-Fridlyand <[email protected]>
cyip10 pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Aug 12, 2024
* Add `GEOSEARCHSTORE` command.

Signed-off-by: Yury-Fridlyand <[email protected]>

* Signed-off-by: Yury-Fridlyand <[email protected]>

---------

Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Chloe Yip <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants