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

Create JSON type? #290

Open
timmeade opened this issue Jun 9, 2023 · 4 comments
Open

Create JSON type? #290

timmeade opened this issue Jun 9, 2023 · 4 comments

Comments

@timmeade
Copy link

timmeade commented Jun 9, 2023

Any way to create a JSON entry?

Also when i tried to duplicate an existing JSON (upstash) when I put in the key i get:

CleanShot 2023-06-09 at 15 33 27@2x
@chronark
Copy link

chronark commented Jun 9, 2023

Hey, upstash here, thanks for creating the issue.
Our redis team is checking this out

@luin
Copy link
Owner

luin commented Jun 9, 2023

Any way to create a JSON entry?

You can run commands to create a JSON entry in Command Query. We will add GUI support for that in the upcoming version.

Also when i tried to duplicate an existing JSON (upstash) when I put in the key i get:

@chronark For context Medis uses DUMP and RESTORE to copy/move keys across databases. Not sure if there are workarounds or if Upstash is going to support the commands. Thanks!

@chronark
Copy link

cc @mdogan

@timmeade
Copy link
Author

FYI for anyone else.... To use the Command line to create JSON.

Select Command Query in medis....

Then use this command to create:

JSON.SET key-123 $ '{"a":2}'

Once created easy to edit or delete in medis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants