Add a key

Click add2 or use shortcut ⌘ + N on Mac and Alt + Insert on Windows to open add key dialog:

add key button2

Specify the key name and key type you want the key to be:

add new key2

A value will be set as placeholder when you add a key, you can edit the value after you click the OK button:

value placeholder2

Clone a key

You can clone a key with a different key name and the value will be copied as same as source key. To clone a key, you need to select the key that you want to copy from and click copy2 or use shortcut ⇧ + ⌘ + C on Mac and Shift + Ctrl + C on Windows to open clone key dialog where you can specify a new key name:

clone a key2

Note: By default, Iedis 2 use currently selected key name as a suggestion for the new key when you add/clone a key.

Rename a key

There are many ways to rename a key:

  • Press Enter key when a key is selected
  • Select the key and click edit2
  • Select the key and use shortcut Shift + F6
  • Double click on the key
  • Use popup menu by right-clicking on the key

All these three operations will make the key editable, then you can rename it and press when you're done:

rename a key2

Change key type: You can't change the key type on the fly. You need to delete the key and add it again with a new type.

Remove keys

Select the keys that you want to remove and click remove2 or use shortcut ⌘ + Del on Mac or Alt + Del on Windows to remove keys. You can remove multi keys at once in this way:

remove keys2

Copy a key name

Sometimes you need to copy the name of a key, you can use shortcut ⌘ + C on Mac and Ctrl + C on Windows to copy the name of a key. You can also right-click on a key and select Copy on the popup menu to copy the name of a key.

Set TTL

You can select as many keys as you like and set TTL for both of them:

set ttl

Flush DB

Flush DB is also available, but you need to carefully use this action because it will remove all data in the database you selected:

flush db

Codes Magic © 2013-2019 · Terms